Add HTML5 Valid Chrome Frame Header Via .Htaccess

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
You might also like

Leave A Reply

Your email address will not be published.