Comment spam
December 3, 2005
So I went through a month or so ago and updated my site with a clean WP install with a new theme. I didn’t have a lot of time so I purposefully neglected to go back and implement my comment spam prevention mechanism. Of course, I’ve spent far more time since that update deleting spam comments than what it would have taken to block it to begin with.
Even worse, since I was getting comment spam I assumed that comments still worked. Unfortunately, during the upgrade I left the wp-comments-post.php in place assuming that the files that I had just installed were pointing to it. We all know what happens when we assume. With the exception of renaming wp-comments-post.php all the other changes were in the templates and had not been overwritten. So, when you tried to leave a comment you got a 404 because it was looking for my “hidden” comment handler. But since the spammers just go straight for wp-comments-post.php they didn’t have a problem.
The biggest kicker is that since all my changes weren’t overwritten, all I had to do was rename wp-comments-post.php to get everything working correctly. Guess it pays to always follow through on the little stuff to avoid bigger headaches later.
Now that comments are working again I expect to see a flood of legit comments. Ha!
Popularity: 2% [?]
Comments
Got something to say?