Detecting an Unsupported Browser with Apache Mod_Rewrite

I am a man who wears many hats at my day job, and one of my favorite hats is maintainer of our new Intranet site. I built the site on a WordPress foundation figuring any functionality I need could be added via plugin down the road. Recently ran into an issue with users accessing the site via an unsupported browser.

In the office I have designated the domain XXXX.LOCAL for anything that needs to resolve internally. Currently we purchase a piece of browser based software from a company that only supports IE in compatibility mode. This forces us to set XXXX.LOCAL to compatibility mode in all IE browsers. My WordPress intranet site does not like compatibility mode one bit. Since all my users have Edge, Firefox and some have Chrome as their available browsers the thought entered my mind to force them to use one of them.

HOW TO DESIGNATE iNTERNET EXPLORER AS AN UNSUPPORTED BROWSER

Continue reading “Detecting an Unsupported Browser with Apache Mod_Rewrite”