Compatibility mode causing problems

When we render our page (not internet facing yet), it is having issues, but only in IE.

Some things of note:
If I access via internal ip address, it displays correctly, and using F12 to view emulation - document mode I see it as "11".
If I access via FQDN, it displays incorrectly, and using F12 to view emulation - document mode I see it as "7". If I manually change the mode to 11 it will render correctly, but that only works while the developer tools are open.

I've done some research and it pointed to various methods of trying to use X-UA-Compatible options to try and force the IE mode. I have tried adjustments to the theme header.php file, Apache conf file, and .htaccess methods.

We would like to control this from the server side. What options do we have that work well with betheme to force the render mode?

Comments

  • edited March 2017
    Made some progress using the Apache config file method and headers module. It seems to be forcing the document mode that I need. I don't actually understand why it is changing the document mode depending on use of FQDN vs IP address.

    Anyway, I noticed several threads of people having similar issues, and perhaps my post will help others in the future. Enable your headers module if needed (on our Debian install this was needed), and then you can add a config line such as:
    Header set X-UA-Compatible IE=Edge

    Restart Apache, test and, hopefully, celebrate.
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.