Are you getting a lot of spam comments on your WordPress blog?
Spam comments can become a big issue as your website grows. Plus, moderating and deleting them manually can take a lot of time.
In this article, we will show you how to use Antispam Bee to block spam comments in WordPress.
Why You Should Block or Delete Spam Comments
Spam comments take up unnecessary space in your WordPress hosting database. What’s worse is that if you accidentally approve a spam comment, then it makes your brand look bad.
There are multiple ways to block spam comments on your WordPress website. You can do it manually by reading and deleting them one by one, but that could take hours.
Alternatively, you can use the free Antispam Bee plugin to automatically block spam comments based on the rules that you set.
Let’s take a look at how to block spam comments in WordPress using Antispam Bee.
Using Antispam Bee to Block Spam Comments
Once activated, you need to go to the Settings » Antispam Bee page in your admin area.
On this screen, you will see the Antispam Bee settings divided into three sections: ‘Antispam filter’, ‘Advanced’, and ‘More’. Let’s take a look at each of these sections:
Configuring Antispam Bee’s ‘Antispam Filter’ Settings
Antispam Filter settings are the basic settings that help you detect spam comments. They allow you to filter and review the comments before they show on your blog posts or website.
These settings are organized in the order in which they execute. We will explain each setting in the descriptions below.
- ‘Trust approved commenters’ will automatically approve comments from regular and trustworthy commenters. These commenters post valid comments and generate discussion, so the plugin remembers them and approves their comments right away.
- ‘Trust commenters with a Gravatar’ allows you to approve comments from users with a specific Gravatar image who post valid comments. This is similar to ‘Trust approved commenters’, but the plugin remembers the Gravatar of trustworthy commenters.
- ‘Consider the comment time’ will consider the time the comment was made. The author of the plugin doesn’t recommend this setting for blogs or websites that use page caching. So, the setting is off by default.
- ‘BBCode links are spam’ is a recommended setting. It will mark comments with BBCode (Bulletin Board Code) links as spam. BBCode links are widely used by spammers to highlight words and links.
- ‘Use regular expressions’ helps find unwanted comments with a set of predefined patterns that are useful to detect spam.
- ‘Look in the local spam database’ uses existing spam content in your site’s database to identify new spam comments.
- ‘Block or allow comments from specific countries’ lets you blacklist and whitelist specific country ISO codes.
- ‘Allow comments only in certain language’ allows you to specify an approved language for comments, so comments in all other languages will be blocked or deleted.
Configuring Antispam Bee’s ‘Advanced Tools’ Settings
In the advanced settings, you can further set the options to manage, block, and delete unwanted comments.
There are a few settings that are enabled by default. However, you can make changes to these settings as needed.
- ‘Mark as spam, do not delete’ will keep spam comments and won’t delete them until you enable the settings below.
- ‘Spam-Notification by email’ will send you an email notification for every spam comment. We do not recommend this setting because it will quickly become annoying. It is disabled by default.
- ‘Do not save the spam reason’ will not store the suspicious values of a comment in a separate column. These values can be formatted links, comment time, and more.
- ‘Delete existing spam after X days’ allows you to define the number of days after which the spam comments are automatically deleted. This setting is linked with other settings mentioned above that automatically delete comments.
- ‘Limit approval to Comments/Pings’ will define whether you want to approve comments or trackbacks. If you limit approval to comments, then trackbacks will be automatically deleted, and vice versa. Leave the setting off to approve both.
- ‘Delete comments by spam reasons’ allows you to select multiple conditions that will automatically delete unwanted comments. When you enable this setting you can select a reason from a list, including CSS hack, comment time, empty data, and more.
- ‘Delete Antispam Bee data when uninstalling’ will delete all Antispam Bee data when you uninstall the plugin.
These advanced settings will make your life easy while reviewing comments on your site.
Configuring Antispam Bee’s ‘More Options’ Settings
After the advanced settings, you can take a look at the reporting options to display your daily spam updates in the WordPress admin dashboard area.
These reports will help you monitor the spam comments easily, and you can also analyze the number of useful and unwanted comments.
- ‘Generate statistics as a dashboard widget’ will create a spam report as an interactive widget for your WordPress admin dashboard area. These statistics will give you an overview of the spam comments on your blog.
- ‘Spam counter on the dashboard’ will display the number of total comments marked as spam, as well as the number of deleted spam comments.
- ‘Do not check trackbacks / pingbacks’ will automatically approve trackbacks and pingbacks from any site.
- ‘Check complete site markup for comment forms’ allows the plugin to look for spam when the comment form has been added to other areas of your blog besides posts and pages.
Once you are done, click on the ‘Save Changes’ button near the bottom of the page to apply these settings to your blog.
We hope this tutorial helped you block spam comments in WordPress. You may also want to see our guide on how to increase your blog traffic or our expert pick of proven ways to make money blogging with WordPress.