wordpress描述调用_如何在WordPress中添加关键字和元描述

wordpress描述调用

Do you want to properly add keywords and meta descriptions in WordPress? Meta keywords and meta descriptions allow you to improve your website’s SEO. In this article, we will show you how to properly add meta keywords and meta descriptions in WordPress.

您是否要在WordPress中正确添加关键字和元描述? 元关键字和元描述使您可以改善网站的SEO。 在本文中,我们将向您展示如何在WordPress中正确添加meta关键字和meta描述。

为什么要在WordPress中添加关键字和元描述? (Why Add Keywords and Meta Descriptions in WordPress?)

Keywords and descriptions allow you to tell search engines more about the content of your posts and pages.

关键字和描述使您可以告诉搜索引擎更多有关帖子和页面内容的信息。

Keywords are important words or phrases that people are likely to search for if they were looking for the content you are publishing. Meta description is a brief description of what your page or post is about.

关键字是人们在寻找您要发布的内容时可能会搜索的重要单词或短语。 元描述是您的页面或帖子的简要描述。

Description used by search engines

Meta keywords and description are actually HTML meta tags, and they go into your website’s header. WordPress SEO plugins make it super easy for you to add them from your WordPress admin area for each post and page on your website.

元关键字和描述实际上是HTML元标记,它们进入您网站的标题。 WordPress SEO插件使您可以非常轻松地从WordPress 管理区域中为网站上的每个帖子和页面添加它们。

How important are meta keywords and descriptions for SEO?

SEO的meta关键字和描述有多重要?

Search engines don’t exactly share how much weight they assign to keywords or description. However, it is quite obvious that they are important and help you rank better.

搜索引擎并没有完全共享它们分配给关键字或描述的权重。 但是,很明显它们很重要,可以帮助您更好地排名。

Some SEO experts believe that keywords are not at all important. Even Google says that they don’t give importance to meta keywords. However, other SEO experts disagree and advise users to keep adding meta keywords.

一些SEO专家认为关键字根本不重要。 甚至Google都说他们不重视meta关键字。 但是,其他SEO专家不同意并建议用户继续添加meta关键字。

On the other hand, meta description is extremely important because you can use it to grab user’s attention.

另一方面,元描述非常重要,因为您可以使用它来吸引用户的注意力。

Having said that, let’s take a look at how to easily add keywords and meta description in WordPress.

话虽如此,让我们看一下如何在WordPress中轻松添加关键字和元描述。

Note: For the sake of this tutorial we will be using Yoast SEO plugin. For more details, see our step by step guide on how to install and setup Yoast SEO plugin for WordPress.

注意:在本教程中,我们将使用Yoast SEO插件。 有关更多详细信息,请参阅有关如何为WordPress安装和设置Yoast SEO插件的分步指南。

影片教学 (Video Tutorial)

演示地址

If you don’t like the video or need more instructions, then continue reading.

如果您不喜欢该视频或需要更多说明,请继续阅读。

在Yoast SEO中启用元关键字支持 (Enable Meta Keywords Support in Yoast SEO)

Yoast SEO comes with built-in support for description and meta keywords. However, the meta keywords feature is turned off by default.

Yoast SEO内置了对描述和meta关键字的支持。 但是,默认情况下,meta关键字功能处于关闭状态。

First you will need to enable it in order to use meta keywords on your WordPress site.

首先,您需要启用它才能在WordPress网站上使用meta关键字。

You will start by visiting SEO » Dashboard page and then click on the ‘Features’ tab.

您将首先访问SEO»仪表板页面,然后单击“功能”选项卡。

Advanced settings pages

Now you need to click on ‘Enabled’ under ‘Advanced settings pages’ option and then click on save changes button to store your changes.

现在,您需要单击“高级设置页面”选项下的“启用”,然后单击“保存更改”按钮以存储您的更改。

Yoast SEO settings page will now reload and you will be able to see a lot more options under the SEO menu.

Yoast SEO设置页面现在将重新加载,您将能够在SEO菜单下看到更多选项。

Headover to SEO » Titles & Meta page and then click on the ‘Other’ tab.

转到SEO»标题和元页面,然后单击“其他”选项卡。

Enable meta keywords

Now you need to click on ‘Enabled’ under ‘Use meta keywords tag?’ option and then click on the save changes button.

现在,您需要点击“使用元关键字标记?”下的“启用”。 选项,然后单击保存更改按钮。

You have successfully enabled meta keywords support in Yoast SEO plugin for WordPress. You can now add meta keywords to your posts and pages.

您已成功在WordPress的Yoast SEO插件中启用了元关键字支持。 您现在可以将meta关键字添加到帖子和页面中

WordPress帖子/页面的关键字和描述 (Keywords and Descriptions for WordPress Posts / Pages)

First you need to edit a post or page where you want to add keywords and meta description.

首先,您需要编辑要在其中添加关键字和元描述的帖子或页面。

Scroll down a little to ‘Yoast SEO’ meta box below the post editor.

向下滚动到帖子编辑器下方的“ Yoast SEO”元框。

You will see your site’s title and automatically generated description as a snippet. Below that you will see Meta Keywords field.

您将看到您网站的标题和作为片段自动生成的描述。 在其下方,您将看到“元关键字”字段。

Adding meta keywords in Yoast SEO for WordPress

You need to enter your keywords separated by a comma. Don’t use more than 10 keywords or phrases.

您需要输入用逗号分隔的关键字。 请勿使用超过10个关键字或词组。

Make sure that you only use keywords that are relevant to your content and that you have already used those keywords or phrases inside your article.

确保仅使用与您的内容相关的关键字,并且已在文章中使用这些关键字或短语。

Now you need to click on the ‘Edit Snippet’ button and enter your site’s description. This will turn the snippet preview into an editable area.

现在,您需要点击“编辑代码段”按钮,然后输入您的网站说明。 这会将代码段预览变成一个可编辑区域。

Edit description

Make sure that you use your main keyword at least once in your description.

确保在描述中至少使用一次main关键字。

After that click on the ‘Close snippet editor’ button when you are done. You will be able to see your custom description in the snippet preview now.

之后,完成后单击“关闭代码段编辑器”按钮。 您现在就可以在摘要预览中看到您的自定义说明。

Congratulations, you have successfully added meta keywords and description to your WordPress post. You can now save or publish your post or page.

恭喜,您已成功将meta关键字和描述添加到WordPress帖子中。 您现在可以保存或发布您的帖子或页面。

为首页添加关键字和元描述 (Adding Keywords and Meta Description for Homepage)

You can also add keywords and description for your site’s homepage in WordPress. Here is how to do that using Yoast SEO plugin.

您还可以在WordPress中为网站首页添加关键字和描述。 这是使用Yoast SEO插件的方法。

Headover to SEO » Titles & Metas page and then click on the ‘Homepage’ tab. Here you can add a custom title, description, and meta keywords for your site’s homepage.

转到SEO»标题和元数据页面,然后单击“主页”选项卡。 在这里,您可以为网站的首页添加自定义标题,描述和meta关键字。

homepage keywords and description

Don’t forget to click on the save changes button to store your settings.

不要忘记单击“保存更改”按钮来存储您的设置。

类别档案的元关键字和描述 (Meta Keywords and Description for Category Archives)

You can also add keywords and description to your category and tag archive pages.

您还可以将关键字和描述添加到类别和标签存档页面。

First you need to visit Posts » Categories page. Take your mouse over to the category you want to edit and then click on the ‘Edit’ link.

首先,您需要访问帖子»类别页面。 将鼠标移到要编辑的类别上,然后单击“编辑”链接。

Edit category

This will open the category editor page where you need to scroll down to Yoast SEO meta box.

这将打开类别编辑器页面,您需要在其中向下滚动到Yoast SEO元框。

Now you need to click on the Edit Snippet button to enter your own description of the category.

现在,您需要单击Edit Snippet按钮以输入您自己的类别描述。

Editing meta description for category archive in WordPress

After that you need to click on the ‘Settings’ button to enter meta keywords to be used for that particular category’s archive pages.

之后,您需要单击“设置”按钮以输入用于该特定类别的存档页面的元关键字。

Adding meta keywords for a category archive page in WordPress

Don’t forget to click on the ‘Update’ button store your settings.

不要忘记单击“更新”按钮来存储您的设置。

You can repeat the process to add keywords and descriptions to your tags and other custom taxonomy archives.

您可以重复此过程,以将关键字和描述添加到标签和其他自定义分类档案中。

That’s all, we hope this article helped you learn how to easily add keywords and meta description to your WordPress posts and pages. We recommend that you add custom meta description and keywords to every blog post and page that you create.

就这样,我们希望本文能帮助您学习如何轻松地在WordPress帖子和页面中添加关键字和元描述。 我们建议您向创建的每个博客文章和页面添加自定义元描述和关键字。

You may also want to see our ultimate WordPress SEO guide for beginners.

您可能还想查看我们针对初学者的终极WordPress SEO指南

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/beginners-guide/how-to-add-keywords-and-meta-descriptions-in-wordpress/

wordpress描述调用

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值