Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am seeing that in the last 2 months blocked spam comments in Akismet have jumped from around 8k to more than 100k in each of the last two months. Is there any way to stop them being posted in the first place?

share|improve this question

2 Answers 2

up vote 0 down vote accepted

You can prevent some hits by blocking bots before akismet catches them, these plugins can be very effective.

Plugins:

Stop bots with no user agents from posting and directory browsing (this goes in your .htaccess)

RewriteEngine On
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule .* - [F]

Options All -Indexes
Options +FollowSymLinks

If it's still a problem consider contacting your host and using a firewall to block persistant bots or IP ranges ( for instance here is a list of bad bots, http://www.wpsecure.net/bad-bot-list/ ). This is not super effective as is, but an example of what your logs can tell you ( most bad bots use common browser user-agents).

Check out services like Cloudflare.

share|improve this answer

You could make sure users have to be registered and logged in to comment.

You could also add a CAPTCHA plugin so valid users have to type in a code before posting.

At the end of the day though it seems Aksimet is doing it's job and stopping the spam which is surely a good thing?

share|improve this answer
    
yes but I am worried about the effect on server load, would a plugin like Bad Behavior help? –  drtanz Jul 19 '11 at 10:16
    
Definitely worth a try –  Vince Pettit Jul 19 '11 at 12:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.