« more ways to soup up MT search | Main | My first plugin »

killing comment spam, part 3

One thing that many victims of comment spam have noticed is that the spam is often posted to old entries. There's an easy way to prevent that from happening: automatically close comments on old entries. I use the script to close comments on all entries older than 60 days but you can set it to any span of time that you would like.

Another solution that's often suggested is changing the name of the CGI script that runs the comments, which is called mt-comments.cgi. As it happens, I've been doing that since July of 2002. It didn't have anything to do with comment spam at that time. Phil Ringnalda developed a plugin called CommentSwap. The idea behind CommentSwap is to prevent Google from indexing blank comments pages. What it does is check if the comment count on an entry is zero. If so, it inserts a link in your templates to a copy of the comments script called mt-nocomments.cgi. Only if the comment count is equal to or greater than one does it create a link to mt-comments.cgi. You can then edit your robots.txt file to tell Google not to index mt-nocomments.cgi

Of course, we now discover that spam-bots looking for links to mt-comments.cgi won't find them on your comment-less entries (which have links instead to mt-nocomments.cgi), thus providing a small measure of protection to those entries.

Comments

new mt-send-entry.cgi file released by MT:

http://www.movabletype.org/news/2003_11.shtml#000873

Hi,

have you ever heard of mt-blacklist - a great comment-spam-filter? I use it for weeks and am perfectly happy with it.

merry xmas,christoph

Chris, I am using it too. See this entry. You must not have taken a very good look around while you were here.

About This Blog

  • Disclaimer: This is a personal site and is not connected with Six Apart, Ltd, the makers of Movable Type
  • Contact me:
  • Readme: What this blog is and is not
  • Reference: Templates for Al-Muhajabah's Islamic Blogs

August 2008

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

Tips by Type

Tips by Area

Other ways to read this blog

Feed Subscribe to this blog's feed
(default is RSS 2.0, I also have RSS 1.0 and Atom)

Text-only version
Powered by
Movable Type 3.2