The Best Anti-Spam Comment Plugin for Wordpress - Auto Close Posts

The Best Anti-Spam Comment Plugin for Wordpress - Auto Close Posts

shoemoney · · 2 min read
Akismet, which luckily comes bundled with Wordpress (and also owned by Wordpress's parent company Automatic) is one of the best anti-spam plugins for Wordpress. But I still get a bunch of spam and it doesn't take a rocket scientist to see where its comping from. Basically people hammer the crap out of search engines looking for blogs and keywords using a dictionary file most likely. Once spammers find 1 post they then will start hammering your blog from various proxies (most of which are akismet blacklisted) starting from your first post (http://www.shoemoney.com/?p=1, http://www.shoemoney.com/?p=2, http://www.shoemoney.com/?p=3, etc, etc.) and just climbing the way up until they get a 404 (or probably multiple 404's cause some posts will be missing. Course they all do these with random emails/proxies/names and while they are easy to identify they take up time. After even further analysis of my comment spam that passes the Akismet test the number is actually about 95% are from posts that are 2 weeks or older. So there we go. Now I just need to write a plugin that will automatically not allow comments or trackbacks on posts that are 2 weeks or older. So I start searching online and... looks like some kid named Matt Mullenweg had the same idea years ago with wordpress 1.x You can get the plugin here. Its a very simple plugin that checks the age of the post before loading and if its older then the days specified (default is 14) then it closes comments and pingbacks. WINNAR