internet-explorerhttp-headersx-ua-compatiblecompatibility-mode

Stuck with IE compatibility mode


The URL of the site I am working on ended up on Microsoft compatibility list. This means that every time IE users visit it, IE9 mode is forced on which makes it impossible to use modern CSS or Javascript.

enter image description here

First 6 lines of every HTML document on the site look like these. There are no conditional comments. I also tried to put <title> title immediately after the <head> without any success.

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta charset="utf-8">
        <title>...</title>

Response HTTP headers always contain

X-UA-Compatible     IE=Edge

But it does not appear to make any difference. The only thing that forces IE off IE9 mode is this checkbox in the Setting dialog. Only when it is unset, the site is displayed in the Edge mode.

enter image description here

Plus, I recently found that Microsoft's iecompatdata.xml contains featureSwitch="overrideXUACompatible:false" attribute next to the site entry.

Is there anything else I can try to prevent my site from being displayed in IE compatibility mode?


Solution

  • If the site is on Microsoft's compatibility view list, you'll need to get them to remove it.

    According to this page, you need to email iepo@microsoft.com with the following information and ask that your site be removed from the list: