I run a website on dedicated Apache server of my friends. But the problem is, he runs an e-commerce on it too and have set-up that each page on the server upon retrieval gets added two tags in the head
for his own metrics by the server, which obviously messes up with charset
declaration, that should come first in the head
.
So the head of every page looks like this after server processes it:
<head>
<script></script>
<script></script>
<meta charset="utf-8>
</head>
Which is obviously bad from W3 validity standpoint and also int terms of those scripts blocking the page rendering until they are loaded, but he does not want to change this behavior.
So is there something I can do with my code so the server cannot alter the head?
Aucun commentaire:
Enregistrer un commentaire