Reputation: 1205
How can I redirect users for IE versions 6-8 with htaccess to a certain directory (mysite.com/ie)?
Note: I am using Wordpress.
Upvotes: 3
Views: 8470
Reputation: 696
It is much more simple to handle this with a simple javascript function. You can also use HTML. Here's a sample of javascript that detects the browser version. You should be able to tailor this to suit your needs:
Detecting Windows Internet Explorer More Effectively
Upvotes: -5
Reputation: 51894
something like:
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} "MSIE [6-8]" [NC]
RewriteRule ^(.*)$ http://mysite.com/ie [R=301,L]
Upvotes: 15