ShuDudu's Home was started in 2011, but the web data is lost, so now begin again, I would like to make some friends, I hope you like ShuDudu's home.
Current position: ShuDudu > Net Web >

WordPress IE under the source file garbled solution (part of the topic)

Wednesday on January 29th, 2020Net Web

Station some time ago it took 18 ocean buy a new theme, which is now used by the theme. With this theme a few days later found out that my Baidu snapshots updated every day though, but included a number of quantity remains the same. That hurry, so look for reasons, first reason is obvious, because the site changed the topic, has changed a lot in terms of structure, which will affect Baidu and so included. In addition, I also found a problem, is the "source" of the article is garbled. (View page source file, which we must all know it). This could also be one of the factors included. So they look for ways to solve the problem.

?

After contact the author and ask an expert, this is due to the choice of encoding the article out of the question. The solution is to open the header.php theme file

Find meta http-equiv = "Content-Type" content = "? Php bloginfo ( 'html_type');? Charset = php bloginfo ( 'charset');??" /

Sentence of coding selection functions are: to judge according to the encoding your own blog, your blog, and then select the same encoding. But the sentence to determine the error code that sometimes appear in IE, then it shows the article source files are garbled, this time we can set according to their own blog coding.

As changed the form

meta http-equiv = "Content-Type" content = "text / html; charset = utf-8" /

Directly specify the encoding, this problem will be solved.

The source file garbage problem, not only will appear on the WP, on the other programs may have this problem, then solve the idea is the same. After time ago in an article published WordPress theme to change the theme that must be ten things, I think this should also add, it should be noted that the matter was eleven.

?

Copyright Protection: ShuDudu from the original article, reproduced Please keep the link: https://www.shududu.com/netweb/WordPress-IE-under-the-source-file-garbled-solution-part-of-the-topic.htm