In wordpress comments most effective way of discussion and communication with people. Some times we want to delete some or all comments from wordpress website. Here in this tutorial, we given some basic ways to delete the wordpress comments from your site.
How to delete all wordpress comments
Note: Before doing anything, it is important to take backup of your database is very important. Always take backup of your database and file system before performing any major database of plugin related operation.
- Delete comments through database
If you have access to your database through PHPmyadmin than go to there. If you have shared hosting panel than in dashboard page you will find the PHPmyadmin link or icon there. Login to PHPmyadmin and select your wordpess database. You are able to see page like as follows:
Select the wp_comments and wp_commentmeta table and select empty option from dropdown. Do not press drop icon. It is very dangerous. Only make it empty table. Above tables are very important to run your wordpess site.
2. Use delete all comments wordpress plugin.
Go to this page “Delete All Comments” and download this plugin. Install wordpress plugin your site using admin panel. Do not forget to activate this plugin through plugins option.
After activating this plugin go to Tools->Delete all comments section or page.
Check above checkbox (Delete all comments) and hit Delete All button. It will delete all comments from your wordpress site.
I hope this tutorial found useful.