I ran the W3C HTML Validator to check if there was a problem and this is the only error I have: //prntscr.com/gj1z22
"X-UA-Compatible HTTP header must have the value IE = edge, was IE = Edge, chrome = 1"
I did not even have any X-UA compatible header. After I found this error, I did my research: 1 , 2 , //www.sitepoint.com/community/t/how-to-solve-http-equiv-validation-error-from-w3c-validator/178466; I changed the .htaccess settings and even put some PHP code in my headers to display the correct meta tag, as recommended in this forum, but still, the error continues
PHP Header:
if (isset($_SERVER['HTTP_USER_AGENT']) &&
(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))
header('X-UA-Compatible: IE=edge');
.htaccess:
<FilesMatch "\.(htm|html|php)$">
<IfModule mod_headers.c>
BrowserMatch MSIE ie
Header set X-UA-Compatible "IE=Edge" env=ie
</IfModule>
</FilesMatch>
Why is this happening? I note that I did not have any such header the first time I received this message. All the solutions I found in this forum did not work.