Posts Tagged ‘5 ways to combat comment spam’

If you have a WordPress blog itself is very popular, the most annoying is the fight against comment spam in WordPress on a regular basis. Every time you connect to the WordPress dashboard, you see a lot of spam comments waiting to be eliminated. Whether you must manually delete them or let them die in the queue of emails.

The latter option is not recommended because it will increase the size of the database and load time of resources. Therefore, you must find and fight their way to prevent comment spam in WordPress. This article describes some proven techniques that can be used to reduce comment spam in WordPress.

The comment spam is a comment that is automatically displayed in blogs, websites, forums, etc. by automated robots, scripts or programs. Some people use automated scripts or robots to target high traffic sites to post a comment. Typically, a review of electronic mail is full of irrelevant words and links and do not care about discussion or article that the comment is published.

In short, the comment spam is a bad form of shameless self-promotion, and try to get fast traffic, or SEO.

1. Install WordPress Plugin Akismet

Akismet is considered the best WordPress plugin to reduce comment spam. This plugin checks each comment, Pingbacks and trackbacks submitted to your blog and drive control most of the Akismet web service to determine if the comment is spam or not.

In addition, to prevent spam comments, and bad connections, Akismet seems to statistics page, where you can see more information on the number of comments blocked, accuracy, dates, etc.

2. Close comments on old posts

Using Akismet is good, but overtime you will notice that the Akismet to avoid hundreds of spam comments every week. You must delete these spam comments by hand, which is a really boring job. If you want more control over spam comments, because blocking Older Post commented.

Pali the door spammers, who receive good traffic, and you can automatically close comments on posts on certain days of old. Log on to your blog space management, select Settings and Discussion>. Then, select the check box “automatically closes comments on Article older than” and enter the dates in the text box (eg, 90).

This ensures that the comments are closed on any item that is greater than the number of days you specify.

3. Ban IP Addresses Spam

Wp-Ban is a useful WordPress plugin that can be used to blacklist IP addresses that try to post comments on your blog spam. This plugin checks the IP address of the commentator, and if you have already specified the same IP address in the settings of the plug-in, how to display a custom message prohibited.

When you activate the plugin, keep an eye on the IP addresses of spam comments. Then add the IP addresses of the plug-in blacklist and bingo! You will find that the amount of spam comments are in decline, a blacklist IP more.

This plugin should be used with caution. If a blacklisted IP address, any visitor to the same host name would not be able to see your blog. Use this plugin to blacklist specific IP if they seem too often vulgar comments and post to your blog.

4. Use the Custom WordPress Referrers Ban Blank Function

In most cases, commentators mails never visit your blog and you can use this principle to dramatically reduce spam in the comments.

Log in WordPress administration area of ​​your blog and go to “Theme Editor”. Select the topic of your blog and open the functions.php file for editing. Paste the following code:


verify_comment_referer function () {

if (! wp_get_referer ()) {

wp_die (__ (‘You can not leave comments at this time, maybe you need to enable your browser regarding .’));


add_action (‘check_comment_flood’, ‘verify_comment_referer “);


The above function checks the “source of reference” to the page where the comment in the post. In the case of spam in the comments, if the reference source found empty comments are not allowed to be published so as not to receive spam.

5. Recognize the use of WordPress Plugin

As stated by Google in their Webmaster Central blog, WordPress reCAPTCHA plugin is one of the best ways to prevent spam comments on WordPress blog. The concept is really simple – anyone who tries to write a comment need to see a graphic and type the words match the graphics. The spam bots have no eyes and minds and can not see and read these charts. Therefore, they can not publish these comments urgent.

The plugin is recatcha well, but it has one major drawback. Commentators on your regular blog to fill Catcha trying to write a review. This may seem depressing or confusing to the visitor, and he can not refrain from comment altogether. Many popular blogs are using reCAPTCHA, but I’m not a fan of this plugin, because it might offend the regular commentators.

Changing your observation system or IntenseDebate Disqus (user)

Disqus is a comment from third parties and moderation tools to your website. There are several advantages to using Disqus. First, are closely integrated with Askimet to reduce spam. Secondly, help to reduce the size of your database that all comments are stored on the server. Third, it integrates with Facebook, Twitter and OpenID so that readers can easily connect with the minimum of problems. Last but not least, is free.

When you have a website with high traffic count and number of spam, you will appreciate the ease with Disqus makes your life.

He was a (if not all) of techniques you can use to prevent spam comments on your WordPress blog. What techniques do you prefer? Do you use a WordPress plugin that I have missed? Can you share your thoughts in the comments.

Read Full Post »