WordPress deletes all comments
WordPress is hugely used all over the world. And in today’s internet situation, spamming is one of the most important things to solve. But sometimes it is also seen that there are many spam comments. It is a necessary and most important thing to solve. So what can we do about it? did you hear about the comment bot?
The conventional WordPress comment bot could be a computer program that naturally posts comments on WordPress posts. Comment bots can be utilized to promote or publicize commerce, or to urge more engagement on a specific post.
If your website is new, you can turn off commenting. But if your website is old and you have a large number of comments on your website, then you have to review all the comments and then you have to select spam comments, and delete them. It is a long and long time process. So in this case you can delete all the comments.
Now you have two options. If your website is old then you can use an anti-spam plugin for WordPress, which will protect spam comments. But yet some spammers still try to spam. Then you have a second option to turn off commenting on your website.
What is the best anti-spam plugin for WordPress?
AntiSpam plugins help you in many ways. It will try to stop spamming on your website. I think I don’t need to write about what is an anti-spam plugin, how it works, and more. Everyone knows it. You can check this link of AntiSpam plugins which will help you in several ways.
Spam protection, AntiSpam, and Firewall by CleanTalk
If you ask me which is the most popular and well-rated AntiSpam plugin in the wordpress store, then the answer is Spam protection, AntiSpam, and Firewall by CleanTalk. This plugin has more than 2314 five-star ratings.
And the most important thing about this plugin, it doesn’t use any type of captcha, so visitors remain engaged with your website. But this plugin is paid. After a period of a free trial, you have to pay 12$ yearly. I don’t think it’s much costly.
You can download this plugin from here – Download now
Akismet Spam Protection
This is one of the famous AntiSpam plugins for WordPress users. With more than 5 million downloads, This is the most popular anti-spam plugin for WordPress. This plugin will filter out spam comments and you don’t need to delete all comments.
note: you will need an API key to use this plugin
You can download this plugin from here – download it now
WP Cerber Security, Anti-Spam & Malware Scan
This is one of the best WordPress security plugins. As one of the most excellent WordPress security plugins, WP Cerber Security, Anti-spam & Malware Check has its possess anti-spam motor that ensures your shapes, and consequently identifies spam comments and either denies their accommodation or moves them quickly to junk. Utilizing imperceptible ReCaptcha, this plugin pieces spambots from submitting login, enrollment, watchword recuperation, comment, and WooCommerce shapes.
You can download this plugin from here – download it now
I have discussed the 3 best antispam plugins. You can use any of them. 3 of them is the best choice to use. Now come to the second option. You can delete all comments on your website if you wish so…
Let’s know about 3 methods to delete all comments –
Using the WordPress admin dashboard
You can delete all comments using the WordPress admin dashboard. This is the quickest and simplest method. But if your website is too old and you have any comments then maybe it can consume your time. Still, if you want to use this method, follow these steps.
- Log in to the WordPress dashboard and go to the comments option from the left sidebar menu.
2. On the bulk options dropdown menu, select move to trash. Then select all the comments and click apply.
By following these 2 steps, you can delete all the comments from your website. But it will show 10 comments per page. That means you can delete 10 comments at once with this method. So, this method may be time-consuming method for some users. Don’t worry, keep reading, more methods are awaiting.
Check also – 10 most common SEO mistakes in 2022/2023
Using a plugin
You can delete all comments from your website with a single click by using a plugin. This plugin also has the ability to detect spam comments. So you can delete only spam comments with this plugin. That means you don’t need to delete all comments for this. You have the option to delete only spam comments.
This plugin’s name is Delete All Comments of WordPress. Installing method is as simple as other plugins.
- Plugins > Add New > Upload > ‘delete-all-comments-of-wordpress-website.zip’ – Install Now
- Unzip & Upload the ‘delete-all-comments-of-WordPress-website’ folder to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Delete All Comments plugin is under the ‘Tools’ menu
Now follow these steps.
firstly, you will get e new option in the WordPress sidebar menu
Secondly, go to this option and you will get an interface like this-
Now select which option is suitable for you. I hope you will understand these options. Then Click delete-
And done. Thus you can delete all comments from your WordPress website.
With this method, we are going to delete all comments using hosting Cpanel. For that first log in to Cpanel and find the phpMyAdmin option and go on it.
Then select your database and find this option “database name-comments” as this image shown below and go on it –
Then go to the SQL tab and Select one of the taking after questions to erase comments based on specific conditions:
Delete all WordPress non-approved and pending comments:
DELETE from wp_comments WHERE comment_approved = ‘0’
Delete all WordPress trash comments:
DELETE from wp_comments WHERE comment_approved = ‘trash’
Delete all WordPress spam comments:
DELETE from wp_comments WHERE comment_approved = ‘spam’
And then click go and we are done.
Comments play an important role to grow a website, but in some cases, you may need to delete comments, or to stop spamming you have to delete comments on your website. We have shown these 3 methods to delete all comments from your website.
- using WordPress dashboard
- with a plugin
- from Cpanel.
we hope you got a proper solution to this problem. If you like this article please leave a comment. If you face any type of problem linked to WordPress, just leave a comment. We will provide a proper solution for that. Thanks for reading this article. You can see our other articles on this website. To enhance your knowledge about web development, WordPress, SEO, coding and more follow our website wordpressjournal.net regularly.
Love more –