Force IE in Edge Mode

Posted by Joe Enos on May 20, 2021 · 1 min read

If you’re seeing Internet Exploder loading your site in an old compatibility mode, try adding the following to your web.config file:

<system.webServer>
<httpProtocol>
<customHeaders>
<add name="X-UA-Compatible" value="IE=Edge" />
</customHeaders>
</httpProtocol>
</system.webServer>

It may or may not work – I haven’t had the time or patience to learn all the various scenarios that screw up Internet Exploder, but this works in at least some scenarios.