Home > front end > Website coding is utf-8, baidu grab returns the GBK search snapshot shows garbled, want how to deal
Website coding is utf-8, baidu grab returns the GBK search snapshot shows garbled, want how to deal
Time:02-09
My website coding is utf-8, open the page is normal, but baidu spider grab shows the GBK, baidu search web site shows garbled, how to deal with this? Website redesign is GBK before and after revision database, web site all the coding has been replaced by utf-8
& lt; ! PUBLIC DOCTYPE HTML "-////W3C DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" & gt; & lt; HTML XMLNS="http://www.w3.org/1999/xhtml" & gt; & lt; head> & lt; Meta name="viewport" content="width=device - width, initial - scale=1.0, the minimum - scale=0.5, the maximum - scale=2.0, user - scalable=yes"/& gt; & lt; Meta HTTP - equiv="content-type" Content="text/HTML. Charset=utf-8 "/& gt;
Baidu to return HTTP header:
HTTP/1.1 200 OK The content-type: text/HTML. GBK charset= Server: Microsoft IIS/10.0 X - Powered By: PHP/7.0.20 Date: Mon, 6 May 2019 09:15:53 GMT Connection: close The Content - Length: 28496
CodePudding user response:
Baidu search shows garbled words above site
CodePudding user response:
Baidu has a cache, we can try some "baidu snapshot" inside, there is a "snapshot" complaints, try after delete snapshot