[geeklog-devtalk] Re: [geeklog-devel] Found a spam comment hole.
Matthew Cox
matthew at concoxion.com
Wed Aug 25 15:20:00 EDT 2004
> Message: 1
> From: "Tom Willett" <tomw at pigstye.net>
> To: geeklog-devel at lists.geeklog.net
> Date: Wed, 25 Aug 2004 13:43:23 +0000
> Subject: [geeklog-devel] Found a spam comment hole.
> Reply-To: geeklog-devel at lists.geeklog.net
>
> Kyle noticed something we can change to cut down on the number of spam
> comments in geeklog. He noticed in his logs the following google search
> after people tried to post spam comments.
>
> "post a comment" anonymous "Allowed HTML tags"
>
> If you search for this you will find a series of links mostly to geeklog
> sites that point to the post a comment page all loaded and ready. Simply
> changing the 'Post a comment' link on stories to a form button would
> eliminate this problem.
Interesting point. You could also effectively prevent this with a
Disallow directive in your robots.txt file. There's no real reason to
have search engines spider this page.
example robots.txt
User-agent: *
Disallow: /comment.php
User-agent: Googlebot
Disallow: /comment.php*$
-Matthew
matthewcox.org
More information about the geeklog-devtalk
mailing list