Update: This tutorial is now superceded by A Comprehensive Guide to Protecting Your Blog from Spam.
Comment spam is something every blogger is really really afraid of. Over the past two years that I have been using WordPress this is one problem that I have faced on and off.
I realized that the amount of spam I was receiving was is direct relation to my popularity. (and I wasn’t that know then)
After a lot of experimenting, I have finalized settled down on the following. I’m pretty much spam free for now.
Firstly, get Bad Behavior installed. Bad Behavior blocks spam by checking Referer and a lot of other things the moment it touches your site. It runs silently in the background protecting you. Optionally, you can add my Bad Behavior Stats Plugin to display the number of blocked attempts on your blog.
Next, get hold of Spam Karma 2. Spam Karma is a comment spam protector. It provides many checks and drastically reduces the amount of comment, trackback and pingback spam. Optionally, add Spam Karma 2 Stats.
With just these two plugins installed I had almost zero spam on my site. However, I recommend a few additional things you can do.
Get hold of Moderate Plugin for SK2 and follow the instructions for installing it. This plugin will ensure that new posters will land into moderation for your approval. So even if a person gets through Bad Behavior and Spam Karma 2, you still choose whether you want to approve this comment or not. Believe, I’ve used it many times!
Also, to reduce email spam do not have any mailto: links on your site. Instead make use of contact forms or email plugins like my Transpose Email plugin to protect your email from harvesters.
Two popular contact forms for WordPress are PXS Mail and WP-Contact Form.
Yet another step to prevent bad bots and spam is to use your .htaccess file to block them. Read Blocking bad bots and site rippers (aka offline browsers). Here you will find a nice long list of what you will need to enter into your .htaccess to block the bots and spam.
Additional resources worth checking are:
I’m pretty much spam free today. So how about you?
Liked this article? Stay in touch with us! Don't forget to Stumble It!
Grab the site feed or add to your Technorati favs.
Post Details
- Post Date :
- Tuesday, Sep 27th, 2005 at 10:16 pm
- Category :
- Blogging
- Tags :
- antispam, Bad Behavior, bad behavior stats, Blogging, contact form, email spam, plugin, PXS Mail, Spam, spam karma, transpose email, WP Contact Form
- Do More :
- Both comments and pings are currently closed.
Related Posts
Some posts related to the post you have just read:
- Wordpress Upgraded
- Comment spam and trackback spam
- Peter’s Custom Anti-Spam Image Plugin for Wordpress
- Testing Comment Guard
- Are you having troubles commenting?
- Making SK2 and WP-Cache play together
Search this site for Related Posts
Recent Posts
Previous and Next
Latest Five

September 28th, 2005 at 4:34 am
Hi Ajay,
just dropped by your page. Very interesting. Good job.
AJ:
September 29th, 2005 at 11:49 am
Very useful information and plugins there.
Spam at my personal blog has just started. Now its time to defend these idiots.
Thanks Ajay.
September 29th, 2005 at 3:17 pm
Welcome Vamsi.
I updated the post to add protection from bad bots and site rippers.
Will be updating it still further or probably dedicate a page to it. Let’s see….
October 1st, 2005 at 3:59 pm
Ajay, the gravatars are not loading on your blog.