Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Use Antispam Bee to Block Spam Comments in WordPress

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

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.

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.

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.

Antispam Bee Settings Page

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.

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’ 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.
Antispam Filters
  • ‘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.
Antispam Filters
  • ‘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.

Antispam Bee 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 quickly become annoying. It is disabled by default.
Antispam Bee Advanced Tools
  • ‘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.
Antispam Bee Advanced Tools
  • ‘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.

Antispam Bee More Settings
  • ‘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.
Antispam Bee More Settings
  • ‘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.

Expert Guides on Fighting Spam in WordPress

Now that you know how to block spam comments using Antispam Bee, you may like to see some other guides related to fighting spam in WordPress.

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.

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. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

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

10 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Rushikesh says

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

  3. Jo Martin says

    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.

    • WPBeginner Support says

      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.

      Admin

  4. Tally Pendragon says

    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.

WPBeginner Assistant
How can I help you?

By chatting, you consent to this chat being stored according to our privacy policy and your email will be added to receive weekly WordPress tutorials from WPBeginner.