I know you are passing a nice holiday with your family and friends, so permit me to bother you with my question: How can I redirect visitors using Internet Explorer to a page web ? I hope it is possible to do it with htaccess, in the goal to redirect ALL visitors who visit any page on the website.
In fact, I have installed a wordpress website to a friend, and it works perfect on all the web browsers, but unfortunately not on Internet Explorer. The user should go to TOOLS option on IE, and change the navigation type from Quirks to Internet Explorer 9 to be able view the website properly.
Best regards to you all, and thanks in advance for your help!
bbparis: Did including the meta element fix your web site in IE? If not, you may want to look at makingsure you’re using an HTML5 doctype: <!DOCTYPE html>. This will force later versions of IE into standards mode.
I want to reiterate that it is a very bad idea to force all versions of IE to redirect to a different page. While earlier versions of IE were behind the times due to a 5 year leave of absence, IE9, and especially IE10 are modern browsers. They should render your content as expected if you’re following standards. They shouldn’t require any extra effort to support on your part than other modern browsers. Redirecting all users of current and future versions of IE just harms the users that choose to use those browsers.
That would redirect anyone who has Firefox, Chrome, Safari or Opera set with a useragent containing MSIE to indexIE.html even though the browser is not Internet Explorer. All browsers can use a useragent that identifies them as Internet Explorer and many people have whatever browser they are using set that way to bypass all the stupid browser testing scripts in antiquated web pages that only allow you to visit the page using Internet Explorer.
Also it would not send anyone using Internet Explorer who has their useragent set to not contain MSIE to the indexNonIE.html page - Internet Explorer allows you to set the useragent to anything at all. It’s a good place to advertise where your ad is unlikely to be blocked.
The only way to properly identify Internet Explorer is by using conditional comments either in HTML or in JScript - it can’t be done on the server.