Forum Moderators: open

Message Too Old, No Replies

Redirect I.E Users

         

Snickers

6:24 pm on Jul 28, 2005 (gmt 0)

10+ Year Member



Hey,

I need help for redirecting people that access my site with Internet Explorer to a certain site of my choice.

All other browsers should just go to the index.php

I've searched google several times, tried several codes also.

They do work, if you access my site with I.E it does redirect...

BUT if I use another browser (FireFox) it just keeps acting like its re-loading all the time, so many times a sec. that it does not even show site before it reloads again...

Can anyone help?

A code that redirects I.E users and does not bother any other browsers?

encyclo

6:28 pm on Jul 28, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The surest way to target Internet Explorer is by using an IE conditional comment. You could simply do a meta refresh for IE only:

[b]<!--[if IE]>[/b]<meta http-equiv="refresh" content="0;URL=http://www.example.com/">[b]<![endif]-->[/b]

All other browsers merely see a comment.

Snickers

6:44 pm on Jul 28, 2005 (gmt 0)

10+ Year Member



EHHHH! THANKS!

It actually works!

Thank you so much!