Home  >  Article  >  CMS Tutorial  >  How to add keywords to wordpress articles

How to add keywords to wordpress articles

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-07-15 17:05:493975browse

How to add keywords to wordpress articles

Enter the background, as shown in the picture, find the appearance - edit

How to add keywords to wordpress articles

##Related recommendations: "

WordPress Tutorial

Then on the right side of the edited theme, find the header.php file, as shown in the picture, click to open


How to add keywords to wordpress articles

in the header In the header.php file, find the code. This code means the end of the title. We will add keywords and description codes after the title, as shown in the figure. After finding , please press Press the Enter key to leave a line empty so that we can add code in the next step


How to add keywords to wordpress articles

After following step three to leave a line empty, please modify the following code first:


<meta name="keywords"  content="这里填写你网站的关键词" />
<meta name="description"  content="这里填写你网站的描述"/>

Generally, the keywords and descriptions of our website are determined by the webmaster himself. Please modify the above keywords and descriptions according to the needs of your website, and then put the code into the empty line in the third step. Then click Update Submit below. Since then, the WordPress keywords and descriptions have been added.

How to add keywords to wordpress articles

The above is the detailed content of How to add keywords to wordpress articles. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn