如何在现有的WordPress帖子上禁用引用和Ping

Do you want to disable trackbacks and pings on your old WordPress posts? Trackbacks and pingbacks allow blogs to notify each other that they have linked to a post. However, today it is mainly used by spammers to send trackbacks from spam websites. In this article, we will show you how to disable trackbacks and pings on existing WordPress posts.

您要在旧WordPress帖子上禁用引用和ping吗? 引用和pingback允许博客相互通知它们已链接到帖子。 但是,今天,垃圾邮件发送者主要使用它从垃圾邮件网站发送引用通告。 在本文中,我们将向您展示如何禁用现有WordPress帖子上的引用和ping。

How to Disable Trackbacks and Pings on Existing WordPress Posts
为什么要在WordPress中禁用引用和Ping? (Why Disable Trackbacks and Pings in WordPress?)

In the early days of blogging, trackbacks and pingbacks were introduced as a way for blogs to notify each other about links.

在博客的早期,引入了引用和pingback作为博客相互通知链接的一种方式。

Let’s suppose you write an article and add a link to a post on your friend’s blog. Your blog will then automatically send a ping to their blog.

假设您写了一篇文章,并在您朋友的博客上添加了指向文章的链接。 然后,您的博客将自动向其博客发送ping命令。

This pingback will then appear in their blog’s comment moderation queue with a link to your website.

然后,此pingback将显示在其博客的评论审核队列中,并带有指向您网站的链接。

However, today this feature is mostly used by spammers to send thousands of fake trackbacks and pings. Even if you are using Akismet, some of these trackbacks may still get into your moderation queue.

但是,今天,垃圾邮件发送者大多使用此功能发送数千个虚假引用和ping。 即使您使用的是Akismet ,其中某些引用仍可能会进入您的审核队列。

WordPress allows you to turn off this feature. You can do that by going to Settings » Discussion page and then uncheck the box next to ‘Allow link notifications from other blogs (pingbacks and trackbacks) on new articles’ option.

WordPress允许您关闭此功能。 为此,您可以转到“设置”»“讨论”页面,然后取消选中“允许在新文章上允许来自其他博客的链接通知(引用和引用) ”旁边的框。

Disable pings on all new articles

However, it only turns them off on any new articles that you publish. All your old posts will still have trackbacks and pingbacks enabled. WordPress will even add trackbacks to those posts whenever you link them on your own blog. See our guide on how to disable self pingbacks in WordPress.

但是,它只会在您发布的任何新文章上将其关闭。 您所有的旧帖子仍将启用引用和pingback。 每当您在自己的博客上链接WordPress时,WordPress甚至会向这些帖子添加引用。 请参阅有关如何在WordPress中禁用自我pingback的指南。

Let’s take a look at how to easily disable trackbacks and pings on existing WordPress posts.

让我们看一下如何轻松禁用现有WordPress帖子上的引用和ping。

禁用WordPress帖子的引用和Ping (Disable Trackbacks and Pings for WordPress Posts)

First you need to visit Posts » All Posts page and then click on the Screen Options button at the top right corner of the screen.

首先,您需要访问帖子»所有帖子页面,然后单击屏幕右上角的屏幕选项按钮。

Show more posts per page

Now enter 999 next to ‘Number of items per page’ option and then click on apply button.

现在,在“每页项目数”选项旁边输入999,然后单击“应用”按钮。

This will reload the post’s list, and it will now show upto 999 posts on the same page.

这将重新加载该帖子的列表,现在将在同一页面上最多显示999个帖子。

Next, you need to select all posts by checking the box next to title label.

接下来,您需要通过选中标题标签旁边的框来选择所有帖子。

Select all posts on the page

After that you need to select ‘Edit’ from Bulk Actions drop down and click on the ‘Apply’ button.

之后,您需要从批量操作下拉菜单中选择“编辑”,然后单击“应用”按钮。

Bulk edit all selected posts

WordPress will now show you a bulk edit box with all posts on the page selected.

WordPress现在将向您显示一个批量编辑框,其中选中了页面上的所有帖子。

In the bulk edit box, you need to look for the pings option and then change it to ‘Do not allow’.

在批量修改框中,您需要查找ping选项,然后将其更改为“不允许”。

Do not allow pings

Next, you just need to click on the update button to save your changes.

接下来,您只需要单击更新按钮即可保存您的更改。

WordPress will now update and turn off pings on all selected posts.

WordPress现在将更新并关闭所有选定帖子的ping。

If you have more than 999 posts on your WordPress site, then you need to go to the next page and repeat the process.

如果您的WordPress网站上有超过999个帖子,那么您需要转到下一页并重复该过程。

We hope this article helped you learn how to easily disable trackbacks and pings on existing WordPress posts. You may also want to see our list of tips and tools to combat comment spam in WordPress.

我们希望本文能帮助您学习如何轻松禁用现有WordPress帖子上的引用和ping。 您可能还想查看我们的打击WordPress中的垃圾评论提示和工具列表。

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/wp-tutorials/how-to-disable-trackbacks-and-pings-on-existing-wordpress-posts/

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值