Technology news site

Guest Post: The Three-Pronged Approach To Tackling Comment Spam


Nobody likes dealing with spam – but it’s a reality on the web. Here’s what you can do to prevent it on your own website.

Dealing with spam as a webmaster is kind of like dealing with taxes. Nobody actually likes doing it, but it’s a necessary part of doing business. And given that spambots and the people who make them aren’t going away anytime soon, that’s not changing.

Don’t stress about it, though. It’s actually pretty easy to keep spam off your blogs if you know what you’re doing. Today, I’m going to go over three stages you can follow

Phase One: The Honeypot

The first technique I’d like to tell you about is designed to catch the majority of run-of-the-mill spambots – it’s called The Honeypot. It’s a far superior alternative to CAPTCHA (which puts the onus of fighting spam on your users, and is extremely aggravating to deal with besides). How it works is pretty simple.

First, set up the comment form on your site to include an invisible field that’s impossible for humans to fill out. The majority of spambots, simple as they are, won’t understand that the form is meant to stay empty. They’ll fill it in, and their comments will be blocked.

Of course, this won’t take care of some of the more advanced bots, nor is it an effective means of dealing with human spammers. For that, you’ll need to take a slightly more hands-on approach.

Phase Two: An Anti-Spam Plugin

Most CMS platforms come with an antispam plugin preinstalled – WordPress has Akismet, for example, and Drupal has Antispam. If the defaults aren’t to your liking (or you’re using a CMS that doesn’t come with a spam-fighting plugin installed by default) then I’d recommend doing a bit of research, finding one that works well for your site, and familiarizing yourself with it.

Phase Three: The Manual Approach

Last, but certainly not least, there are a few additional things you can do aside from installing a plugin that’ll help make spam a bit more manageable. They are as follows:

  • Close comments on older posts and content: Limiting the length of time in which people can comment will reduce the volume of spam flowing into your site.
  • Prevent users from commenting on media attachments: Same idea as the previous point.
  • Disable Trackbacks: Unless you’re using trackbacks on your site, you’re probably safe to disable them.
  • Ban Spam IPs: Most antispam plugins have this functionality built-in – take a look at the IP addresses from which most spambots comment, and shut them down.

Closing Thoughts

Spam’s a pain to deal with – but it’s not impossible to be rid of. Follow the steps outlined in this piece, and you’ll be able to keep your site more or less spam-free.

About Matthew Davis — Matthew works as an inbound marketer and blogger for Future Hosting, a leading provider of VPS hosting. Follow Future Hosting on Twitter at @fhsales, Like them on Facebook and check out their tech/hosting blog,https://www.futurehosting.com/blog.

HTML Snippets Powered By : XYZScripts.com