code."/> code.">

Home  >  Article  >  CMS Tutorial  >  Where to set wordpress keywords

Where to set wordpress keywords

尚
Original
2019-07-15 15:43:453310browse

Where to set wordpress keywords

As we all know, the WordPress official download and installation program does not have keywords and descriptions by default, and can only fill in the website title and subtitle. But for us SEOers, keywords are used to pay attention to the keyword ranking of the website in real time, and descriptions can improve the keyword ranking speed. Both are indispensable. So how do we add keywords and descriptions? There are many plug-ins on the Internet. Downloading plug-ins can complete filling in keywords and descriptions. However, it is not recommended that you download plug-ins here, because if WordPress installs too many plug-ins, it will cause the website to run too slowly and increase space pressure, so we generally choose The best thing is to directly add code to the header file (header.php) to achieve the perfect addition of keywords and descriptions in WordPress:

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

Where to set wordpress keywords

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

Where to set wordpress keywords

in the head 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 picture. After finding , please press the Enter key. Leave a line out so that we can add the code in the next step

Where to set wordpress keywords

After following step three and leaving out a line, please modify the following code first

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

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

For more wordpress related technical articles, please visit the wordpress tutorial column to learn!

The above is the detailed content of Where to set wordpress keywords. 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