Beginner's Guide for WordPress / Start your WordPress Blog in minutes

How to Use Antispam Bee to Block Spam Comments in WordPress

Are you getting a lot of spam comments on your WordPress blog?

Spam comments can become a big issue as your website grows.

In this article, we’ll show you how to use Antispam Bee to block spam comments in WordPress.

How 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 worst is 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.

Mark Spam Comments

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

The first thing you need to do is install and activate the Antispam Bee plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Once activated, you need to go to the Settings » Antispam Bee page in your admin area.

Settings Page

On this screen, you will see the Antispam Bee settings divided in three sections: ‘Antispam filter’, ‘Advanced’, and ‘More’. Let’s take a look at each of these sections.

Configuring ‘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.

Antispam Filters

‘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’ will allow 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. This setting is not recommended by the plugin author for blogs or websites using page caching.

‘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.

‘Validate the IP address of commenters’ allows you to validate the IP addresses used by commenters to check network information like their hostname. This helps in finding the online background of the commenter to decide if the comment is useful or spam.

‘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.

Block Comments from Countries

‘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.

Allow Comments of a Language

Configuring ‘Advanced Tools’ Settings

In the advanced settings, you can further set the options to manage, block, and delete unwanted comments. There are few settings that are enabled by default however you can make changes to these settings as needed.

Advanced Tools

‘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 become quickly become annoying.

‘Do not save the spam reason’ will not store the suspicious values of a comment in a separate column. These suspicious 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.

‘Delete comments by spam reasons’ allows you to select multiple conditions that will automatically delete unwanted comments.

Delete Comments by Spam Reason

‘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 ‘More Options’ Settings

After the advanced settings, you can take a look at the reporting options to display your daily spam updates on 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.

More Settings

‘Generate statistics as a dashboard widget’ will create a spam report in 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 to apply these settings to your blog.

We hope this tutorial helped you block spam comments in WordPress. You may also want to learn how to increase your blog traffic, or see our list of proven ways to make money blogging with WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit – a collection of WordPress related products and resources that every professional should have!

Reader Interactions

7 CommentsLeave a Reply

  1. Which font style you are using in your wpbeginner blog, it’s really attractive and more readable.

  2. Hi, I know about anti spam plugins but not much about each one, so I’m interested if you prefer this plugin over Akismet and why? Thanks.

    • Hi Jo,

      We recommend using Akismet. This plugin can accompany Akismet to add more thorough spam filtering. However, if Akismet is handling spam well enough for you, then you don’t need to install this plugin.


  3. Hi Syed,
    I love the name of Antispam Bee and really want to install it, but do I need to if I already have Akismet? I’m no expert and really have no idea what any of the plug-ins that have been recommended to me to get actually do, so I’m definitely bowing to your superior knowledge here with this question.
    Tally :-)

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.