![](https://i-blog.csdnimg.cn/blog_migrate/11eaf90da9981d544ce02bd3b6d509c3.png)
wordpress批量导入
Spam is a growing problem for all websites. Often WordPress sites receive a huge number of spam comments. Thankfully there are tools to combat comment spam in WordPress, like Akismet and CAPTCHA. A few months ago, Akismet went down for a few minutes, and we saw thousands of spam comments in our moderation queue. In this article, we will show you how to quickly batch delete spam comments in WordPress.
垃圾邮件对于所有网站来说都是一个日益严重的问题。 WordPress网站通常会收到大量垃圾邮件评论。 幸运的是,WordPress中有一些工具可以抵制垃圾评论 ,例如Akismet和CAPTCHA 。 几个月前,Akismet停顿了几分钟,在审核队列中我们看到了数千条垃圾邮件评论。 在本文中,我们将向您展示如何快速批量删除WordPress中的垃圾邮件评论。
The quickest way to delete all spam comments is by clicking the Empty Spam button in WordPress. However when deleting hundreds or thousands of comments at once, this action may take too long, and it could also take down your web server.
删除所有垃圾邮件评论的最快方法是单击WordPress中的“ 清空垃圾邮件”按钮。 但是,一次删除数百或数千条评论时,此操作可能会花费太长时间,并且还可能会导致您的Web服务器停机。
![batch delete spam comments batch delete spam comments](https://i-blog.csdnimg.cn/blog_migrate/a652ebc236e2ca629cf910c078fff250.png)
What we need is a nice way to handle the deletion process without causing too much burden on the server resources. Thanks to Pippin Williamson, there’s a better solution now.
我们需要一种不错的方式来处理删除过程,而又不会对服务器资源造成太大负担。 感谢Pippin Williamson,现在有了更好的解决方案。
All you need to do is install and activate the Batch Comment Spam Deletion plugin. There are no settings for the plugin to configure. Simply go to Comments » Spam and hit the Empty Spam button.
您需要做的就是安装并激活“ 批处理评论垃圾邮件删除”插件。 没有可供配置的插件设置。 只需转到评论»垃圾邮件,然后单击清空垃圾邮件按钮。
This plugin modifies the spam comment deletion process. Instead of deleting all spam comments at once, it processes them into batches and deletes 100 comments in a batch.
该插件修改了垃圾邮件评论的删除过程。 它不会一次删除所有垃圾邮件评论,而是将它们分成批处理并批量删除100条评论。
It will show you the deletion process as it goes on. Once it is done, you will be redirected to the comments page. This plugin reduces the load on your server while allowing you to swiftly clean your database from spam comments.
它将继续显示删除过程。 完成后,您将被重定向到评论页面。 该插件减少了服务器上的负载,同时允许您快速清除垃圾评论中的数据库。
![Batch processing the spam comment deletion Batch processing the spam comment deletion](https://i-blog.csdnimg.cn/blog_migrate/eaa9ea036b57691387693caf199e06d4.png)
We hope this article helped you find a better way to delete spam comments from your WordPress site.
我们希望本文能帮助您找到一种从WordPress网站删除垃圾评论的更好方法。
An effective strategy to fight spam comment bots is by using the honeypot technology, which tries to catch comment bots before they can submit any spam.
对抗垃圾评论机器人的有效策略是使用蜜罐技术 ,该技术试图在评论机器人可以提交任何垃圾邮件之前对其进行捕获。
If you liked this article, then subscribe to our YouTube Channel for more WordPress video guides. You can also join us on Twitter and Google+.
如果您喜欢这篇文章,请订阅我们的YouTube频道以获取更多WordPress视频指南。 您也可以通过Twitter和Google+加入我们。
翻译自: https://www.wpbeginner.com/plugins/how-to-quickly-batch-delete-spam-comments-in-wordpress/
wordpress批量导入