Home > Article > CMS Tutorial > Where are the wordpress keywords?
Where are the wordpress keywords?
As we all know, the official download and install program of wordpress has no keywords by default. and description, 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, wbchz does not recommend that you download plug-ins here, because if WordPress installs too many plug-ins, it will cause the website to run too slowly and cause space The pressure increases, so we generally choose to add code directly to the header file (header.php) to achieve the perfect addition of keywords and descriptions in wordpress:
How to set wordpress keywords and descriptions:
Enter the background, as shown in the picture, find the appearance - edit
Then on the right side of the edited theme, find the header.php file, such as Click to open the image
In the header.php file, find the code. This code means the end of the title. We will add it after the title. Keywords and description codes, as shown in the picture, after finding , please press the Enter key to leave a line empty so that we can add the code in the next step
##Follow After leaving a blank line in step 3, 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 description according to the needs of your website, and then Put the code into the empty line in the third step, and then click Update Submit below. Since then, the WordPress keywords and descriptions have been added
Notes
Generally, the original wordpress does not have keywords and descriptions. After performing this operation, remember to press F5 to refresh. Sometimes the browser caches and you will not see that the keywords and descriptions have been added. . For more WordPress technical articles, please visit theWordPress Tutorial column!
The above is the detailed content of Where are the wordpress keywords?. For more information, please follow other related articles on the PHP Chinese website!