Does this meta tag <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> cause your Joomla Website not to Validate with the W3C?

 

Not a problem. Here is how you fix it.

  1. FTP into your website and follow this path: templates/yourtemplate/warp/systems/joomla/layouts and make a copy of the head.php
  2. Open the head.php in notepad. If you open this file in an HTML editor, it will change the file and cause you to have site problems.
  3. Comment out <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  4. rename your .htaccess file to htaccess.txt and then add the following code:

<FilesMatch ".(htm|html|php)$">
    <IfModule mod_headers.c>
        BrowserMatch MSIE ie
        Header set X-UA-Compatible "IE=Edge,chrome=1" env=ie
    </IfModule>
</FilesMatch>

 

Save the file and then rename it back to .htaccess and then reupload to your server. If this was the only error in your site validation, this should clear it up.

Published in Joomla Support