Thousands you can easily delete, millions of comments and you don't want to buy aksimet the most likely the site itself is spam site making no money. Just turn off comments and be done with them.Aksimet isn't free i guess. I know that lot of these comments (in 1000s) have website URL in them, so i can delete them using the searching the URL. But, i need a plugin which helps me in finding such comments with rules, and helping me deleting them manually in bulk.
How can i do this?The easiest way to do this is to truncate the comments table directly from db. Takes less than 5 seconds.
Login to phpmyadmin (you use cpanel? search for phpmyadmin in it).How can i do this?
There are actually thousands of comments spread over hundreds of pages.
Same here.Akismet plugin works well for anti-spam for me
This worked. Only that i had to spend hours together to delete 2,00,000+ comments with 500 at a time. That was the limitation from phpadmin, unless i deleted the complete database.Login to phpmyadmin (you use cpanel? search for phpmyadmin in it).
Then select the db from the left sidebar.
Look for the query textarea.
Type something like:
TRUNCATE TABLE wp_comments;
Hit the query button (forgot the text of the button lol sorry, but it will be obvious when you see the textarea), and wait for a few seconds. That will do it, and show you the count of comments deleted.
If you have a different db prefix, change wp to that prefix, e.g. abcd_comments.
Also, be sure to not play with phpmyadmin other than doing this. It can seriously fuck things up if you run a wrong command.
The command I gave you is safe for the comments table only.
Edit: Oh btw, I assumed that you don’t need any of the comments. If you need some of them, the query will be different. This query will delete ALL comments from that table and reset the auto id.
You could simply executeThis worked. Only that i had to spend hours together to delete 2,00,000+ comments with 500 at a time. That was the limitation from phpadmin, unless i deleted the complete database.
TRUNCATE TABLE wp_comments;
https://www.javatpoint.com/mysql-truncate-table
You can make one by hiring a dev.Aksimet isn't free i guess. I know that lot of these comments (in 1000s) have website URL in them, so i can delete them using the searching the URL. But, i need a plugin which helps me in finding such comments with rules, and helping me deleting them manually in bulk.