html 5 val : meta charset after first 512 bytes
-
Hi there,
first of all, thank you for this brilliant plugin !
context : (w3tc 0.9.2.11)
the minified filenames (css and js) included just after <head> and before my php directives in header.php creates a so long string that my <meta charset/> comes after the first 512 bytes (which can’t validate html5).
i’ve tried to use .htaccess (both in / folder et wp-contetn/cache/…) to set charset when files match, but it doesn’t work (don’t understand why)
i can’t use manual configuration because of some css generated after the page is rendered and enqueued with wp_register/enqueued_style (so added to the bottom, which doesn’t validate html5)
My question :
is there a deep secret or a good practice to add a peace of code to write “<meta charset…/>” before w3tc minified files ?
Besr regards
- The topic ‘html 5 val : meta charset after first 512 bytes’ is closed to new replies.