Redirect Internet Explorer visitors to a supported browsers page

Redirect users of Internet Explorer to a supported browsers page or any other page. 

To do this, please add the following to your public_html/.htaccess file. 

                                  

RewriteCond %{HTTP_USER_AGENT} .*MSIE.* [OR]                                                                                                     

RewriteCond %{HTTP_USER_AGENT} .*Trident.*                                                                                                       

RewriteRule ^(.*) https://yourdomain.com/supported-browsers [NC,L]

 

Replace https://yourdomain.com/supported-browsers with your browser information page or any other page that you prefer.

 

 

  • 4 Users Found This Useful

Was this answer helpful?

Related Articles

https:// with Weebly

To enable and force https:// with your Weebly website, be sure to go into your editor area,...

I need a module installed but I do not have rights

No problem. Send us a trouble ticket and we will install the module as long as there are no...

Enable AllowOverride

If you have an application that requires allowoverride enabled, create an .htaccess file and...

Can you write a script for me?

We do not write scripts but will be more than happy to guide you in the right direction. Most the...

301 Redirect

This code will redirect all visitors who attempt to access the old-url.html page to the...