Hi All,
I've been trying to get a way to redirect all users on IE that visit a certain page to a different page in the htaccess.
Below are the fixes I've come up with, but neither of them worked.
This had no effect whatsoever
# BEGIN IE FIX
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} .*Trident.* [NC]
RewriteRule ^/quote https://www.example.com/custom-inquiry/ [R,L]
RewriteCond %{HTTP_USER_AGENT} .*MSIE.* [NC]
RewriteRule ^/quote https://www.example.com/custom-inquiry/ [R,L]
# END IE FIX
This redirected all users instead of just IE users
# BEGIN IE FIX
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} .*Trident.* [NC]
Redirect 301 /quote https://www.example.com/custom-inquiry
RewriteCond %{HTTP_USER_AGENT} .*MSIE.* [NC]
Redirect 301 /quote https://www.example.com/custom-inquiry
# END IE FIX