Stop Comment Spam on Your WordPress Blog
8 November 2007 - 23:54
Spam is the scourge of the internet. Brought to us by spineless low class individuals who’s parasitic websites can’t get traffic on their own accord. Spammers will stop at nothing to leach traffic off of your hard work. When owning a blog that generally means that once you get a bit of traffic you run into Comment Spam. Thankfully for those of us using WordPess Blogs there are a number of WordPress plugins to help stop comment spam.
When you begin to notice that you are receiving comment spam you may be tempted to turn off the ability to comment completely. It is an option; however, it does limit your ability to interact with your audience. So, what are our options for stopping spam if we don’t turn off comments? In truth, you can’t totally stop it without shutting comments off completely. However there are several ways to limit the amount of spam that you receive.
Five Suggestions for Stopping Comment Spam
- Implement a Turing test: The most well known Turing test is an image response scenario which creates a situation where the person posting the comment must enter a code which they receive on screen via randomly generated images (Figure 4.A). Most blogs have this functionality, or a plugin that will enable this functionality. The con with this type of test is that, depending on how you implement it, you may be creating an accessibility issue. People with limited vision often have a hard time reading images on screen which may or may not be an issue for you.
On my blog I’m using Version 0.2.4 of Peter’s Random Anti-Spam Image for WordPress. It has some nice features that avoid creating accessibility issues. (Thanks Peter!)
- Turn comments *off* for old posts: When posting, many blogs allow you to simply turn off comments for a specific post. Think of it like auto-archiving the comments feature. Essentially when a post becomes out dated (you determine when) the ability to comment is turned off. Open source blogs such as WordPress and Movable Type have plugins that allow for “auto shut-off” of comments based on their date of creation and most blogs also have manual setting that you can turn on and off to manage this feature on older posts. The con with this is that you loose some ability to receive comments on older posts.
The plugin that I currently use for auto-archiving of comments is called Comment Timeout. by James McKay (Thanks for developing this James!). It is a great little plugin and has some outstanding features like:
Per-post settings: You can set a longer (or shorter) duration for the discussion on particular posts, or even designate some posts to have comments kept open indefinitely.
Extended discussions for popular posts: You can set a cutoff number of comments above which a post is automatically considered “popular” and entitled to have comments left open for a longer period of time.
Send to moderation queue: You have the choice between closing comments altogether on older posts or sending them to the moderation queue.
Advance warning: The comment form now informs your users when the discussion will be closed.
- Filter comment content: Although this does not catch everything, filtering comments and auto-blacklisting comments based on things like the number of links in the comment or the types of words used does help to limit the amount of spam received. The con is that filtering comment limits the ability to be free with language. However, I’ve found that most of the language I’ve put on my blacklist I don’t want on my site anyway.
- Force IP address and email validation in order to post comments: Spammers hate being identified, and forced validation helps to keep them off of your blog. The downside is that forcing people to validate an email address is sometimes viewed as a haste. On my site I’ve chosen only a valid IP address and that they submit an email, not necessarily validate it.
- Force comment moderation based on user level: This is sometimes more work than it is worth, but it is effective. It involves forcing users to register to place comments and then allowing them to comment based on whether or not a moderator has approved them in the past. First time users go instantly to moderation while those who have already been approved are allowed to post instantly without moderation.
0l>
As you can see there are several options for limiting the amount of spam you receive. The best option for most users is to use a combination of methods to limit exposure. For example on my own blog I use IP address validation, a Turing test, a black list, forced email submission, and auto shut-off of comment capabilities on out-dated posts. It has significantly reduced the amount of spam I am exposed to, but I still do get some.
Feel free to post other solutions that you’ve found below.
1 Comment | Tags: Blogging, Moblogging, Stop Spam, WordPress

Loading ...