Why am I getting a 'Properly Defines Charset Error' on Google Page Speed Insights?

Jake46
Visitor
1 0 0

i get this error on google page speed insights Properly defines charset Error! A character encoding declaration is required. It can be done with a <meta> tag in the first 1024 bytes of the HTML or in the Content-Type HTTP response header.

 

im using a youtubers theme which based on debutify however i haven't paid for it ?

Maybe this is the problem as the line of code

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <!-- Other head elements go here --> </head>

is already in the theme folder so idk whats the go

Reply 1 (1)

rajvee_kadchha
Shopify Partner
25 1 2

To solve this you can add 

Content-Type: text/html; charset=UTF-8

 as you already have charset defined,it should not show this error, but you should try by adding content type.
You can check this.