seo的h1标签排序_类别与标签–排序内容的SEO最佳做法

seo的h1标签排序

Readers often ask us, what’s better for SEO: categories vs tags?

读者经常问我们,SEO有什么更好的选择:类别vs标签?

You might not be sure what WordPress categories and tags actually are, and how they’re different. Knowing this can help you use them correctly.

您可能不确定WordPress的类别和标签实际上是什么,以及它们之间的区别。 知道这一点可以帮助您正确使用它们。

In this article, we’ll explain the differences between categories vs tags for organizing your content, and how they can impact SEO rankings.

在本文中,我们将说明类别和标记之间的区别(用于组织您的内容)以及它们如何影响SEO排名。

Using categories and tags for sorting content in WordPress
类别和标签之间有什么区别? (What’s the Difference Between Categories and Tags?)

Categories are meant for broad grouping of your posts. Think of these as general topics or the table of contents for your WordPress site. Categories are hierarchical which means you can create sub-categories.

类别用于对帖子进行大范围分组。 将这些视为常规主题或WordPress网站的目录 。 类别是分层的,这意味着您可以创建子类别。

Tags are meant to describe specific details of your posts. Think of these as your site’s index words. They let you micro-categorize your content. Tags are not hierarchical.

标签旨在描述您帖子的具体细节。 将它们视为您网站的索引词。 他们使您可以对内容进行微分类。 标签不是分层的。

For example, this blog post on WPBeginner is in our category “Beginners Guide”. You can see all the posts in this category by going to Blog » Beginners Guide in our navigation menu.

例如,此关于WPBeginner的博客文章在我们的“ Beginners Guide”类别中。 您可以转到导航菜单中的博客»初学者指南 ,查看此类别中的所有文章。

This post has the tags: categories, categories vs tags, custom taxonomy, seo, seo best practices, sorting your content, and tags.

这篇文章具有标签:类别,类别与标签,自定义分类法,seo,seo最佳实践,对内容进行排序和标签。

You won’t see these tags displaying anywhere on our article. However, they do help users find this article in relevant searches on our blog.

您不会在我们的文章的任何地方看到这些标签。 但是,它们确实可以帮助用户在我们博客上的相关搜索中找到本文。

One of the biggest differences between tags and categories is that all WordPress posts must be filed under a category, but they don’t have to have tags.

标签和类别之间最大的区别之一是,所有WordPress帖子都必须归入一个类别,但它们不必具有标签。

If you don’t give your post a category, WordPress will automatically assign it to the default category. This is called “Uncategorized”, but it’s often helpful to rename the “uncategorized” category to something like “Other” or “Miscellaneous”.

如果您不给帖子指定类别,WordPress会自动将其分配给默认类别。 这称为“未分类”,但是将“未分类”类别重命名为 “其他”或“其他”通常是有帮助的。

Note: By default, only blog posts have categories and tags in WordPress. However, you can add categories and tags to your WordPress pages using a plugin.

注意:默认情况下,只有博客文章在WordPress中具有类别和标签。 但是,您可以使用插件将类别和标签添加到WordPress页面

如何在WordPress中添加类别和标签? (How can You Add Categories and Tags in WordPress?)

You can add categories and tags in WordPress when creating or editing a post. You’ll find them on the right-hand side under the ‘Document’ settings.

创建或编辑帖子时,您可以在WordPress中添加类别和标签。 您会在“文档”设置下的右侧找到它们。

Adding categories and tags when creating a post

You can also go to Posts » Categories and Posts » Tags to add new categories and tags.

您也可以转到帖子»类别帖子»标签以添加新的类别和标签。

For more about the process of adding categories and tags, check out our explanations of What is a category? and What is a tag? for help and guidance.

有关添加类别和标签的过程的更多信息,请查看我们对什么是类别的说明。什么是标签? 寻求帮助和指导。

您应该有几个WordPress类别? (How Many WordPress Categories Should You Have?)

There’s no specific number of categories that you should have. In most cases, you’ll want somewhere between 5 and 10 in order to properly categorize your posts and make your site easy to browse.

没有特定数量的类别。 在大多数情况下,您需要介于5到10之间,以便对帖子进行正确分类,并使网站易于浏览。

Categories are meant to encompass a large group of posts. You can use sub-categories and tags to split your posts into smaller groups.

类别旨在包含大量的帖子。 您可以使用子类别和标签将帖子分成较小的组。

If you’re just starting a blog, then don’t worry about trying to come up with a perfect list of categories. Just choose 3 – 5 broad categories and add more as time goes by.

如果您只是开始创建博客 ,那么不必担心尝试提出一个完美的类别列表。 只需选择3 – 5个大类,然后随着时间的推移添加更多类。

Do I have to use sub-categories?

我必须使用子类别吗?

You don’t have to use sub-categories, and many large blogs (including WPBeginner) don’t. However, sub-categories are helpful if you have a large category with a lot of posts that could be grouped into smaller sections.

您不必使用子类别,许多大型博客(包括WPBeginner)都不需要。 但是,如果您的类别很大,并且有很多帖子可以分组为较小的部分,则子类别会有所帮助。

For example, you might have a “Recipes” category that contains a growing number of gluten-free recipes.

例如,您可能有一个“食谱”类别,其中包含越来越多的无麸质食谱。

Posts in the category 'Recipes'

You can put these posts into their own sub-category, so it’s easy for readers to find them. You create a new child category for “Recipes” called “Gluten-Free” and move these posts into that category.

您可以将这些帖子放在自己的子类别中,以便读者轻松找到它们。 您为“食谱”创建了一个名为“无麸质”的新子类别,并将这些帖子移到该类别中。

在帖子的URL中使用类别 (Using Categories in Your Posts’ URLs)

Some sites use the Category name in permalinks (post URLs), which you can set up under Settings » Permalinks.

某些网站在永久链接(发布URL)中使用类别名称,您可以在设置»永久链接下进行设置

Including your posts' categories in your URLs

If that’s the case on your site, then your post will initially have a URL something like this:
/recipes/gluten-free-pancakes/

如果您的网站就是这种情况,那么您的帖子最初将带有类似以下内容的网址:
/食谱/无麸质煎饼/

After moving the post to a child category, it’ll have a new URL:
/recipes/gluten-free/gluten-free-pancakes/

将帖子移至子类别后,它将具有一个新的URL:
/食谱/无麸质/无麸质煎饼/

Normally, WordPress will try to redirect the old URL to the new one. It’s definitely worth checking that your links are still working. If necessary, you can create a 301 redirect from the old URL to the new one.

通常,WordPress会尝试将旧的URL重定向到新的URL。 绝对值得检查您的链接是否仍然有效。 如有必要,您可以创建一个从旧URL到新URL 的301重定向

Another option is to keep the post in the parent category as well as assigning it to the child category, but this can have drawbacks.

另一种选择是将帖子保留在父类别中,并将其分配给子类别,但这可能会有缺点。

Although, WPBeginner website has categories in the URL, we always recommend users to use shorter URL structure that only contains “Post name”.

尽管WPBeginner网站的URL中有类别,但我们始终建议用户使用较短的URL结构,该结构仅包含“帖子名称”。

This will give you maximum flexibility to reorganize content without worrying about setting up redirects.

这将为您提供最大的灵活性来重组内容,而不必担心设置重定向。

All of our new websites use the modern Post name URL structure. WPBeginner is over 10 years old, so it has legacy URL structure and changing URL structure is not recommended for SEO which is why we have stuck with it.

我们所有的新网站都使用现代的帖子名称URL结构。 WPBeginner已有10多年的历史,因此它具有旧的URL结构,建议不要对SEO更改URL结构,这就是我们坚持使用它的原因。

我可以将一个帖子分配给多个类别吗? (Can I Assign One Post to Multiple Categories?)

WordPress lets you put a post into multiple categories. This could be several parent categories, or a parent category plus a subcategory or subcategories.

WordPress使您可以将帖子分为多个类别。 这可以是几个父类别,也可以是一个父类别加上一个或多个子类别。

Having multiple categories won’t benefit your SEO. You should only assign posts to multiple categories if it makes the most sense for your readers.

拥有多个类别不会使您的SEO受益。 仅在对读者最有意义的情况下,才应将帖子分配到多个类别。

It’s possible that having your post in multiple categories could cause some SEO issues due to duplicate content.

由于内容重复,将您的帖子放在多个类别中可能会导致一些SEO问题。

If you do use multiple categories, then try to avoid putting one post into two or more main (parent) categories. Each post should fit within one main category.

如果确实使用多个类别,请尽量避免将一个帖子放入两个或多个主要(父)类别。 每个职位都应归入一个主要类别。

帖子可以有多少个标签有限制? (Is There a Limit to How Many Tags a Post Can Have?)

WordPress itself doesn’t have any limit on the number of tags you can have on each post. You could potentially assign 1,000 or more tags to a post!

WordPress本身对每个帖子中可以包含的标签数量没有任何限制。 您可以为帖子分配1,000个或更多标签!

However, we definitely don’t recommend that.

但是,我们绝对不建议这样做。

The purpose of tags is to help link related posts together. Think of them as an index section in a book. Each tag is like a keyword in the index.

标签的作用是帮助将相关帖子链接在一起。 将它们视为书中的索引部分。 每个标签就像索引中的关键字。

Tags are helpful for users searching your site. Some plugins that display related posts use tags to help them figure out which posts’ topics are related.

标签对搜索您网站的用户很有帮助。 一些显示相关帖子的插件使用标签来帮助他们确定哪些帖子的主题相关。

We suggest that you normally stick to 10 tags maximum per post.

我们建议您通常每个帖子最多保留10个标签。

分类与标签:SEO的优点是什么? (Categories vs Tags: What’s Better for SEO?)

Are there any WordPress SEO advantages of using categories over tags or vice versa?

使用类别而不是标签,反之亦然有WordPress SEO优势吗?

The short answer is No.

最简洁的答案是不。

Categories and tags both have different purposes. You have to use categories, but you don’t have to use tags if you don’t want to. However, we recommend using both, appropriately, to help readers navigate your site.

类别和标签都有不同的用途。 您必须使用类别,但如果不想,则不必使用标签。 但是,我们建议适当地同时使用两者,以帮助读者浏览您的网站。

Ultimately, you should design your site with users in mind. All search engines want to show users the content that’ll be the most useful to them.

最终,您在设计网站时应该考虑用户。 所有搜索引擎都希望向用户显示最有用的内容。

This means that by organizing your content for best usability will also help you get better SEO rankings.

这意味着通过组织内容以获得最佳可用性也将帮助您获得更好的SEO排名。

We hope that this article helped you understand categories vs tags and the SEO best practices for sorting your content. You may also like our article on how to track WordPress category and tag analytics, and our comparison of the best keyword research tools for SEO.

我们希望本文能帮助您了解类别与标签以及用于对内容进行排序的SEO最佳做法。 您可能还喜欢我们有关如何跟踪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/categories-vs-tags-seo-best-practices-which-one-is-better/

seo的h1标签排序

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值