Title: JavaScript redirection if then structure with IE
Last modified: August 24, 2016

---

# JavaScript redirection if then structure with IE

 *  [dbrewerton](https://wordpress.org/support/users/dbrewerton/)
 * (@dbrewerton)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/javascript-redirection-if-then-structure-with-ie/)
 * This is really frustrating me so hopefully someone can help. I am trying to use
   a landing page which should check for the browser the user is using. If it is
   IE, go to a post optimized for IE, else go to a standard post. I have tried a
   variety of different ones, either the script does not do anything or it redirects
   to the wrong one in IE. Can someone give me a sample? I need it to work with 
   all versions of IE – non-version specific.

 The topic ‘JavaScript redirection if then structure with IE’ is closed to new replies.

## Tags

 * [Internet Explorer](https://wordpress.org/support/topic-tag/internet-explorer/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [dbrewerton](https://wordpress.org/support/users/dbrewerton/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/javascript-redirection-if-then-structure-with-ie/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
