Add HTML5 Valid Chrome Frame Header Via .Htaccess

Pinterest LinkedIn Tumblr

Most developers use the following metalink to enable Google’s Chrome Frame:

Unfortunately, this method fails to validate under HTML5’s current standards. If you’re the type who can’t stand to have a single error thrown on validation, consider adding the Chrome Frame header via your .htaccess file instead. Simply copy and paste the following, and you’re done. 🙂

# Chrome Frame
BrowserMatch MSIE ie
Header set X-UA-Compatible "IE=Edge,chrome=1" env=ie

Write A Comment

Pin It