block spam comments

Do you want to block spam comments in Your WordPress Site? Spam comment is an annoying thing for any web administrator. If you have enabled comments for your website then you have to face spam comments. It is true that you never can 100% stop spam comments but you can prevent at least 99% by using some tricks.

As an open-source CMS (content management system), WordPress is favored by many webmasters. But the annoying thing is that it has to deal with many spam comments. Sometimes it is difficult to manage so many comments.

Thankfully, you can block and filter out 99% of spam comments by installing plugins, some tricks, or settings. As webmasters, we should not waste time managing spam comments but should focus on managing website content.

Excessive spam comments can damage your website. It may affect your search engine rankings. It will also affect the experience of your site’s regular users, and may even cause hidden security risks on your site. Therefore, it is well worth your time to prevent these “junks” out of the market through some strategies.

So, how to block WordPress spam comments? There are five methods as follows:

  1. Seven ways to block spam comments using WordPress’s built-in features
  2. Use plugins to block WordPress spam comments
  3. Use authentication codes to block WordPress spam comments
  4. Use a third-party comment system to take over the WordPress comment function.
  5. Use a web application firewall to block WordPress spam comments

Today we will explain The some methods of how to disable or remove spam comments. 

Seven ways to use WordPress’s built-in features to block spam comments.

To fight against WordPress spam comments, the first thing you should do is to set up WordPress comments. You can operate through the WordPress dashboard, “Settings”>”Discussion.”

You can also disable comments on a single article through the article editing interface. Let’s explain each method one by one.

1. Disable comment function completely

This is the laziest way. Perhaps your website does not need to use the comment function at all. In order to protect yourself from the harassment of spam comments, simply disable them. One of the easiest ways is to uncheck the ” Allow people to submit comments on new posts” option under ”  Settings”> “Discussion .” As shown below:

Block spam comments

This will close comments on all new articles. You can also turn off pingback.

Please note that the articles you have published will not effect this setting. If you want to turn off these features, you need to do this for each article separately. We will talk about this later.

After completing the settings, scroll to the bottom of the screen and click the ” Save Changes” button. All comments will now be disabled.

2. Close anonymous comments

Another option is to turn off anonymous comments. WordPress requires visitors to provide four pieces of information: comment content, name, email, and website.

If anonymous comments are enabled, you will not need to fill in this information. There will be a lot of spam comments flooding your site.

To disable anonymous comments in WordPress, simply check the “Settings”> “Discussion” interface in the background of the WP dashboard, and check the ” Comment author must fill in name and email address  “ option.

block spam Comment

This will increase the difficulty of automatic commenting by zombie programs (the vast majority of spam comments come from zombie programs), but it is not impossible. It may also prevent people from making malicious comments.

3. Enable comment review

In my opinion, if your WordPress site does not have very frequent comments then enable comment moderation is a good way.

The first is the ability to manually approve each comment. Although this will not reduce spam comments, it will ensure that visitors to your website only see high-quality comments that you have approved.

The second is comment review rules. For example, if a comment contains a certain number or more links, you can automatically retain the comment. You can also create a list of words, names, URLs, IPs, etc. Comments that match these list rules should also be retained for review.

You can also set an email to notify you when there are comments waiting for review.

  • To review all comments, select the comment must be manually approved.
  • To review comments from new reviewers, please select the author of the review and the review must have been reviewed before.
Comments moderation

4. Only logged-in users are allowed to post comments

If you want to further restrict who can post comments, you can choose to allow only users from the login site to comment. If your site’s attribute is a social networking site, and you want to encourage visitors to comment but keep other reviewers out, you can do so.

To do this, in the ”  Other comment settings” section, check the ” users must be registered and logged in to comment” option.

block spam comments

You also need to consider the settings for user registration that you allow anyone to register or review registration? You can access the registration settings by going to Settings> General.

5. Create a blacklisted word list

If you want to allow comments but do not want to comment on specific topics, you can set up a blacklisted word list. This will include words commonly used by spammers, as well as words that you do not want to appear on your site in relevant places, such as online dating.

If you do not want to mention or link to competitors ’products or websites, you can also include those products or websites (although please be careful not to go too far).

To create a blacklisted word list, go to the ” Comment Blacklist “ field and enter the blacklisted words or phrases, one per line. They don’t have to be limited to words. they can contain email addresses, website URLs, IP addresses, or whatever you want to include.

You can use the common word list of spam comments provided by the open-source community to improve work efficiency. This list has compiled a large number of word lists. However, personal advice is more sensible to check the list first and choose the words that suit you, because they may contain words that you do not want to prohibit.

If you don’t want to completely ban comments containing these words, but want to review them, you can simply add the list to the ”  Comments Moderation” list. In this way, any comments using these words will be retained for review, rather than directly judged as spam. Or, you can combine the two, using certain words in one field and certain words in another field.

6. Reduce or ban links in comments

Spam comments usually contain links because their purpose is to influence visitors to click on links to increase traffic to these linked sites. You can completely ban comments with links, or you can reduce the number of links allowed in comments.

In the ”  Comment Moderation” section, set the number of comment links that need to be reviewed. To allow a link, please use 2, or if any comments with links need to be reviewed, select 1.

Or, if you want to allow comments with multiple links, select a larger number.

Spam comment

Comments with links more than 2 will be reviewed by the administrator before they can be published.

7. Disable comments on individual articles

If you have published an article before you disabled WordPress comments, or just want to prohibit visitors from commenting on a specific article, you need to set it in the relevant article editing interface.

This feature is useful if you want to post articles on controversial topics, or if your articles attract a lot of spam comments.

Go to all articles and find you want to edit articles, and then click edit to open the article editing interface.

Find the ” Discussion” tab on the right side. Uncheck ” Allow comments” to disable comments on the article. (Note: The traditional editor and the Gutenberg editor may not be the same. For the Gutenberg editor, you need to find the discussion option settings under the document)

Disable comment from post

Save the changes to the article by clicking the ” Update” button, and the article will no longer show or enable comments.

These are the seven ways to block spam comments using WordPress’s built-in features.

2.Use plugins to block WordPress spam comments

There are so many plugins to block spam comments. It is an advance feature that helps WordPress administrator to reduce the spam comments. Using the anti-spam plugin will enable the comment system but it will filter the Spam comments. That is really awesome. I have selected some awesome plugins to help you. The list is below.


Akismet is the best anti-spam plugin in the WordPress plugin library. It has a big library that filter the comments and reduce the number of spam comments. If you want, you can review the all comments manually from comments section.

akismet 1

Akismet has now more than 5 million active installations. However, If your site is a business website or has more than 50,0000 comments per month then you have to upgrade the premium version. Before publishing a comment it will filter it with their cloud based algorithm and remove the spam comments.

Download plugin from Plugins>Add New and search Akismet. Then install and activate to use it.

Antispam Bee

antispam bee 1

Antispam Bee also one of the best anti-spam WordPress plugin. It has currently more than 500,000+ active installations. This is the most simple and easy to use an anti-spam plugin. Like Akismet, you no need to set up an account or API to using it. And it is totally free of charge.

There are so many plugins are available that can help you to disable comments or block spam comments. You just have to find out what you want to do.

Others Spam Plugins

Akismet is the best anti-spam plugin but there are some other plugins also that can help you to manage WordPress comments.

Use Captcha To block Spam Comments

Using captcha is an another way to block spam comments. Day by day more and more sites are using captcha to reduce spam of their site. I have seen so many popular sites also use this.

Whenever someone tries to submit a comment, it shows a message to prove human. And some plugins also show questions to prove humans. So no robot can submit any comment to your site.

Use a third-party comment system

Although this method don’t work for all sites. But some third-party comments system can help to eliminate the spam comments. There are some third party comments system are available.


Many web administrators use Disqus for their website. Disqus adds a new comments form on the website and users can log in with their discus ID or Google, Facebook to write a comment. So all comments will be managed by Disqus. So you no need to worry about spam comments. And it won’t affect your website SEO.

Even you can earn some extra money with Disqus.


Vuukle is a new platform while Disqus is old. But Vuukle has some good features than Disqus. It also shares revenue. Some Feature of Vuukle

  • Add Custom comments Box
  • Auto generates Users Profiles
  • WordPress plugin support
  • Support Awesome Emojis under or above article
  • Awesome Comments Form
  • Supports rich media & photos

However, There are some other third-party comments also available like Facebook. You can use which is suit to your blog.

I hope this article helped you to block spam comments on your website. If you like this article then please like our Facebook page and Twitter to keep updated with us.

FAQ related to comments

What is WordPress Comments?

Comment is an build in feature for WordPress blog. It’s allows readers to give their opinion about the post or page. It is a good way to know the visitors view and interact with them.

How to manage WordPress comment spam on your blog?

There are five ways to manage spam comments in WordPress blog. They are below:
Block spam comments using WordPress’s builtin features
Use plugins to block WordPress spam comments
Use authentication codes to block WordPress spam comments
Use a third-party comment system to take over the WordPress comment function.
Use web application firewall to block WordPress spam comments

Is there an SEO benefit to have Comments?

Good comments always count as article in your website. It will also index in the search engines. So if there is no spam comments then it is good practice to have enabled comments system.

What is the best Third party comments system?

Although there are so many third party comments system are available on the Internet. The best comments system are below
1: Disqus
2: Facebook Comments System
3: Vuukle
4: Spot.Im

Leave a Reply