Wordpress Comments Spam Protection
Posted in Blog Tips, How To | By AhTim @ March 6th, 2008
To Get More FREE iPod or iPhone Tips, Make Sure You Subscribe To My RSS Feed. Remember to Digg, Stumble, or ReTweet if you enjoyed this post! :)
It it quite annoying to receive spam comments everyday. It is wasting my time to clear out those spam comments, especially those comments with no link but actually is spam. Need time to read through the whole paragraph or sentense then only get to know it is spam! There are more and more spam techniques and tools to use, sometime it is not easy to identify.
Since my blog’s traffics is increasing, plus increasing of comments I espect there will be more and more spam comments coming in without control. Hence I have decided to install comments spam protection into my blog’s comment section.
How to Protect from Spam Comments?
There are lots of scripts to protect your blog from spam comments. I have choosen Math Comment Spam Protection as my tool to secure my comments section.
This plugin designed by Michael Woehrer to prove that the visitor who comment is a human being and not a spam robot. It’s a useful spam protection plugin that using simple math calculation question. Visitors only can submit their comments if answer the math question correctly.
How to use Math Comment Spam Protection?
It’s easy to setup within 5 minutes.
1. Download Math Comment Spam Protection
2. Unzip and upload the files into your blog’s plugins directory
3. Activate the plugin and Save Math Comment Spam settings in Options
4. Add codes below into your comment.php (after website URL field) and upload to blog.
<?php
/****** Math Comment Spam Protection Plugin ******/
if ( function_exists(’math_comment_spam_protection’) ) {
$mcsp_info = math_comment_spam_protection();
?> <p><input type=”text” name=”mcspvalue” id=”mcspvalue” value=”" size=”22″ tabindex=”4″ />
<label for=”mcspvalue”><small>Spam protection: Sum of <?php echo $mcsp_info['operand1'] . ‘ + ‘ . $mcsp_info['operand2'] . ‘ ?’ ?></small></label>
<input type=”hidden” name=”mcspinfo” value=”<?php echo $mcsp_info['result']; ?>” />
</p>
<?php } // if function_exists… ?>
My two cents
Although this is a good plugin, but trackback spam protection is not included. Hope this feature available in next version!
I believe with this math spam protection, I get no more comments spam and save some time for blogging. Now my comments section look like screenshot below. You just need to answer the simple math question in order to submit comments. Welcome your valuable comments here.

Popularity: 4% [?]
Random Posts
Tags: comments spam protection, spam protection plugins, spam security
Subscribe Me!















































April 5th, 2009 at 9:13 pm
I am looking for trackback spam protection. Got any ideas?
April 6th, 2009 at 2:32 pm
@JT: Askimet plugin should work for you.