Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Help with htaccess redirect only for MSIE 5 and 6


Vishal - 6:13 pm on Aug 20, 2009 (gmt 0)


Hi Jim,

Thanks for the code, however for some reason it does not seem to work. It is not redirecting at all and keeping me on the original page.

Here is the current htaccess file
AddType text/html .html
AddHandler server-parsed .html
AddHandler server-parsed .htm

RewriteEngine on
#
# Redirect IE 5 and IE 6 requests to version-specific subdomains
RewriteCond %{HTTP_USER_AGENT} MSIE\ ([56])\.
RewriteRule ^(.*)$ [myredirecturllocation.com...] [R=302,L]

Any idea on what might be wrong?

Thanks.


Thread source:: http://www.webmasterworld.com/apache/3975171.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com