Specify a character set
-
Hello,
Google PageSpeed Insights reports “no encoding header”. How could I add such header:
Content-Type: text/html; charset=UTF-8
?According to https://www.w3.org/International/questions/qa-htaccess-charset.en and to https://httpd.apache.org/docs/current/mod/mod_mime.html#addcharset it can be added to the
.htaccess
file this way:AddCharset UTF-8 .html .htm .php .js .css .xml .svg
See https://developers.google.com/speed/docs/best-practices/rendering#SpecifyCharsetEarly
Can this be enabled via W3TC? Please help!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Specify a character set’ is closed to new replies.