Thanks for your help in the past – I think I’ve found out why I’m having problems with IE.
Our problem seems to be that the site is hosted as a sub-domain of the company’s main site – and anything with an address based on that main domain is treated as an Intranet site by IE due to the domain it sits in.
Because of the way the network is setup, it is forcing anything detected as Intranet to run IE in ‘quirks mode’; essentially telling IE to emulate an older version of the browser. It’s setup like this because of the legacy systems we support for clients that require old versions of IE to work correctly.
The organisation sits across several domains (don’t ask!) and only this one domain is affected. The site loads fine in IE8 when connected to different domains.
I believe to resolve this I can use the IE-EDGE meta tag and add it to the header of the template to force IE to always run in its native setting.
My question now is – where would I place the code?
Would it go in index.php (and if so where?), would it go in header.php (again, if so where?) or somewhere else? I believe it could also be placed in a .htaccess file.
I’m running the latest version of the template.
I’m not sure of the best approach as I’ve never used this tag before so thought I’d ask for guidance prior to making any changes that could endanger the site!
Thanks in advance,
I have not heard of this happening before, must be a strange set up!
If you need to add in a script or code to the header, you can add it using <script> tags into Appearance > Theme Options > Header > Tracking Code.
I have found this post also that may help you out? If you are unsure about editing the .htaccess file, I recommend contacting your hosting company.
Yes, we do have an odd setup – it’s because of all the old legacy systems we have to support…
I tried entering the relevant line using script tags but on saving it stripped out the code between the script opening and closing tags. Also, in regards to the Tracking code section – I know I’m hijacking my own thread here but when I place the Google Analytics code here it shows the code on the page – should the code be wrapped in any specific tag?
Thats great, thank you for coming back to us.
If you are happy with the theme, please take a second to rate the theme 5 stars here.
Much appreciated 🙂
You must be logged in to reply to this topic.