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

Disable error_log via htaccess

Prevent public display of PHP errors via htaccess# supress php errorsphp_flag...

Adding HTML to Site Builder

When adding HTML code/source in site builders be sure you are in HTML mode. There is often a...

Prevent CloudFlare from Loading a js or Script

Sometimes CloudFlare / Rocket Loader can have problems with a script and hose it up. To have...

How do I customize error messages for my site?

Within control panel select Custom Error Pages. Select the error code link and place whatever...

View your website in older browser versions

As developers and webmasters it is always important to make sure your website works in several...