如何防止WordPress中的重复帖子标题

Your blog post title and URL play an important role in SEO. Having a duplicate post title can negatively the affect SEO performance of your site. WordPress deals with duplicate post titles by adding a number at the end of URL slug. However these titles are still duplicate, and you should try to avoid them. In this article, we will show you how to prevent duplicate post titles in WordPress.

您的博客文章标题和URL在SEO中起着重要作用。 帖子标题重复可能会对您网站的SEO性能产生负面影响。 WordPress通过在URL末尾添加一个数字来处理重复的帖子标题。 但是,这些标题仍是重复的,您应尽量避免使用它们。 在本文中,我们将向您展示如何防止WordPress中出现重复的帖子标题。

Prevent duplicate post titles in WordPress
WordPress如何处理重复的帖子标题 (How WordPress Handles Duplicate Post Titles)

WordPress automatically uses the post title as URL slug.

WordPress自动使用帖子标题作为URL slug

In case of a duplicate post title, WordPress tries to distinguish the title by adding a number at the end of the URL slug.

如果帖子标题重复,WordPress会尝试通过在URL末尾添加数字来区分标题。

Number in the post URL

Since both post titles are still using the same keywords, this could confuse search engines when deciding which post should be ranked for the keywords used in the title.

由于两个帖子标题仍使用相同的关键字,因此在确定标题中使用的关键字应对哪个帖子进行排名时,这可能会使搜索引擎感到困惑。

影片教学 (Video Tutorial)

演示地址

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

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

避免WordPress中重复的帖子标题 (Avoiding Duplicate Post Titles in WordPress)

If you are running a single author website, then you can easily avoid this by simply changing the title and removing the number from WordPress URLs. However, it’s a lot harder to keep track of when you are running a multi-author WordPress site.

如果您运行的是单个作者网站,则只需更改标题并从WordPress URL中删除数字即可轻松避免这种情况。 但是,要跟踪运行多作者WordPress网站的时间要困难得多。

But don’t worry, the solution we’re going to cover is going to help you prevent duplicate post titles and advise your authors to change them.

但是请放心,我们将介绍的解决方案将帮助您防止重复的帖子标题并建议您的作者进行更改。

First thing you need to do is install and activate the Unique Title Checker plugin. For more details, see our step by step guide on how to install a WordPress plugin.

您需要做的第一件事是安装并激活唯一标题检查器插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。

The plugin works out of the box, and there are no settings for you to configure.

该插件可以直接使用,没有可供您配置的设置。

Simply go to Posts » Add New and enter a unique post title. The plugin will check the post title and notify you that it is unique, and you are good to go.

只需转到帖子»添加新内容,然后输入唯一的帖子标题。 该插件将检查帖子标题,并通知您它是唯一的,您可以使用。

Unique post title

You can now try again by creating another new post. This time use a title that you have already used for another post.

现在,您可以通过创建另一个新帖子来重试。 这次使用您已经用于其他帖子的标题。

The plugin will notify you that this title is already been used.

插件将通知您该标题已被使用。

Duplicate post title warning

It will not stop you from editing the post, saving it, or even publishing it.

它不会阻止您编辑帖子,保存它,甚至发布它。

However, the warning will let you and other authors on your website know that they should use an alternate title.

但是,警告将使您和您网站上的其他作者知道他们应该使用替代标题。

We hope this article helped you prevent duplicate post titles in WordPress. You may also want to see our step by step WordPress SEO guide for beginners.

我们希望本文能帮助您防止WordPress中出现重复的帖子标题。 您可能还想看看我们针对初学者的逐步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/plugins/how-to-prevent-duplicate-post-titles-in-wordpress/

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值