10 Ways to Stop Spam Comments on a WordPress Blog

If you are receiving spam comments on WordPress Blog then you are not alone. This is happening with WordPress users but now we have learned many ways to deal with spam comments. In this tutorial you will learn about some essential methods and plugins. Here are some tips to help you stop spamming your WordPress Blog automatically.

 

Stop spam comments on a wordpress blog

 

You will find a better solution on WordPress to prevent spam comments on WordPress blogs. You have to know how to use. Also, you can ignore spam comments by installing plugins like “Akismet”.

 

If you want to block spam comments via .htaccss, read my How to Stop WordPress Spam Comments Using .htaccess post.

 

Tips and Tricks Stop Spam Comments on a WordPress Blog

 

  1. Use Akismet Plugin:

 

Akismet is one of the most valuable plugins. After installing this, spam traffic and spam comments on your blog will stop completely At the same time, it gives you many more benefits. You can use it to find and handle spam comments on a daily basis. I mean, Akismet plugin is the best way to stop spam comments.

 

  1. No Follow Comments Links:

Sometimes, new bloggers, with the help of a plugin or code editing, dofollow the comment author link instead of nofollow. Some people do this to get more comments, but let me tell you – this is the way to invite spam comments.

I mean, ‘Let’s destroy my blog’ So always use the nofollow comment link.

 

 

The biggest benefit of this is that the people who comment on your blog find out the truth about why they really want to comment on your blog and why they leave comments on your blog only for their own benefit.

 

  1. Add Captcha Verification

 

You can use the WP-reCAPTCHA plugin to open the verify code option in the comment form. The reCAPTCHA plugin shows image text and number verification in the comment form which can be done by any human being. It is a good way to stop spam comments from the robot. Good thing if the captcha plugin blocks spam bots, it will have no effect on the commenting system.

 

  1. Removing Website URL Field from Comment Form:

Everyone knows that the commenting system on the blog is only for discussing the article, but some people make useless comments to promote their site. These users comment on your post without reading it. The reason for this is that there is a website URL field in the comment form. The website URL field not only attracts automated spam comments but it also invites human spammers.

 

Many times, you may have seen on your own blog that some bloggers have very good information on your post. Thanks, your post helped us a lot, this post has worked for new bloggers. They use words like “like” they have nothing to do with your post. They comment on the blog for their own benefit which is a kind of spam comment.

 

  1. Disable Comments on Media Attachments

 

WordPress automatically creates an image attachment page that users can view and comment on. Almost all website owners and bloggers use the image in their posts because it is important for SEO. If you do not comment on image pages on your blog, you must disable the comment form on image attachment pages.

 

Paste the following code in your theme’s function.php file.

function filter_media_comment_status( $open, $post_id ) {

$post = get_post( $post_id );

if( $post->post_type == ‘attachment’ ) {

return false;

}

return $open;

}

add_filter( ‘comments_open’, ‘filter_media_comment_status’, 10 , 2 );

 

Copy this code and add it to your WordPress blog’s Functions-PHP folder. If you do not know how to use this code, you can use the Disable Comment Plugin

 

  1. Use Math Quiz Plugin

 

As mentioned above, you can ignore spam comments by using the captcha plugin, but I would advise you to use the Math Quiz Plugin. This plugin allows the user to solve some math problems with the comment form. Even robots can’t solve them, only humans can solve them.

 

  1. Disable Trackbacks

 

Trackbacks are a big problem for comment spammers. You can easily disable Trackbacks on your WordPress blog by going to the WordPress Dashboard >> Settings discussion >> and in the default article setting allow link notifications from other blogs (pingbacks and trackbacks) on new articles. You can turn off trackbacks by unlocking them in front of you. You can also disable trackbacks.

 

  1. Turn off Comments on old Posts

 

WordPress gives you the feature to raise the comment closure deadline, like you can block comments on posts that are 10, 20, 50 or 100 days old in your own way, depending on your post, so you can go to the WordPress Dashboard Settings >> Discussion and automatically close another comment setting. Tick the front of the comments on articles older than 14 days and set the closing time of the comment to your liking instead of 14 days.

 

 

Now WordPress will automatically close the comment on the old post from the number of days you set.

 

  1. Block Sexual and Other Common Words

 

You may have noticed that most comments are sexual or illegal. Some of these words are (xxx. P*rn, and other) and others are common. There is a future in WordPress in which if you add these common words. So, when someone comments with these words, they will automatically be counted as spam comments. For this you go to the Settings discussion and add these words to the comment blacklist.

  1. xxx
  2. P*rn
  3. s * x
  4. Drug
  5. Viagra
  6. Adult
  7. and other

You can choose some common words from the spam comments on your blog. From my experience, this is a great way to blog all your comments.

 

  1. Switch off Comments

 

Commenting system is required for discus. Discus is required on the blog itself. If you are blogging on news and other topics, you do not need it. You can deactivate the comment system / comment box on your blog. To deactivate, you need to go to Settings >> Discussion untick “Allow People to Post Comments on New Articles”.

 

Final Words

Here are some of the best tips that any blogger can easily follow to combat spam comments on your WordPress blog. If you are wondering why people make spam comments on our blog, let me tell you about them. I think that by creating more backlinks they can bring their website to the first ranking in Search Engine. I mean these people illegally promote their site on every blog to increase the search value of their blog from their comments. There is no benefit to you.

 

I hope you enjoyed this article and found it informative.

 

 

 

 

 

 

 

 

 

 

 

Spread the love

Leave a Comment