There is no one-size-fits-all answer to this question, as the best way to stop spam comments on your WordPress blog will vary depending on the type of spam comment, the WordPress blog itself, and your spam-fighting strategy.
However, the best option is to use a spam-fighting plugin that automatically detects and removes spam comments. The main reason is that you can’t monitor your blog for spam comments manually.
The big issue here is that most of the anti-spam plugins are paid ones, such as Akismet. We’ll introduce a free anti-spam plugin in this video that you can use without any problems on your WordPress website.
There is no need to worry about spam comments and users anymore. Just read the article and watch the video.
Install the Anti-Spam Plugin
The first thing you have to do is log in to your WordPress admin dashboard. Then we are going to add a new anti-spam plugin to the website. This is a completely free plugin. You just need to navigate to the “add new plugin” tab.
In this window, you have to search for this long name to find the correct plugin. Use this name to search “Stop Spammers Security | Block Spam Users, Comments, Forms”.
After you find the correct anti-spam plugin, install it online or upload it to the site. Here I just installed and activated it.
How to Delete All Spam Comments in WordPress?
Soon after you activate the plugin, they may ask to share your spam block with their server. It is better to enable this option because it is useful to everyone to get rid of the spammers. Now you can see a new tab in the left menu bar of the main dashboard area.
This plugin automatically analyzes all the comments currently on the site and finds spam comments. It has already picked up several spam comments on the site. You can view spam by clicking on the number of comments.
You can see it filters spam from real comments. You just need to delete all the comments using the bulk delete option. If you want more details about the spammer, you can click the “Report to SFS” button under each comment.
I have cleaned up my website. This plugin automatically blocks future spam comments. Using this method you can delete all the spam comments in WordPress website at once. It automatically select all the comments you just have to press the delete button.
Optimized Settings of the Anti-Spam Plugin
You can adjust the settings according to your needs. Under the anti-spam plugin, select the “Protection Option” section.
Here you can adjust a few security options such as member-only mode, notification control, and web request validation options. Also, you can block specific countries by using this plugin. For now, I leave it as default.
The next section is the “Allow List”. You can add specific IP addresses to this list, including your admin IP. Also some well-known services like Stripe, PayPal, Google, and other known services.
The most important section is the “Block List” which contains already blocked IP addresses on your website. It also has a list of spam words that are used to identify spam comments.
I recommend going through these word lists and checking whether there are any non-spam words for your site. Spam words may differ from site to site, so you have to customize them a little.
Challenge & Block List
In the “Challenge & Block List”, you can set up a captcha for the comment section, user registration, and other forms. It will help you to prevent bot form filling and commenting.
Captcha gives some challenges to bots that can’t be overcome without human help. You have to get API keys from relevant captcha providers to add it.
Try this method to minimize the risk and spam load on your WordPress blog. The best thing is that this is a free service, so you don’t have to spend additional money.