Stupid spambot

Soon after changing to WordPress a spambot visited my blog and posted a comment on all my posts. I looks like this problem is new to the WP community so I hope for a official solution soon.

Anyway, here is my try to stop it. Place the following code in .htaccess:

SetEnvIfNoCase User-Agent "^Mozilla\/4.0 \(compatible; MSIE 5.5; Windows 98; Win 9x 4.90\)" denyThis

<limit GET POST>
Order Allow,Deny
Allow from all
Deny from env=denyThis
</limit>

Tags:
explanation?

What exactly does the setenvifnocase do? It looks like your blocking out all mozilla users.

Submitted by Internet TV (not verified) on Fri, 03/14/2008 - 07:17.
xqus's picture
This is a incredible old

This is a incredible old post, that don't reallt apply anymore.
This blocks all user agents that pretend to be MSIE 5.5 running on Win 98, wich is about none, except the spambot.

Submitted by xqus on Sat, 07/12/2008 - 20:53.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><pre><blockquote>
  • Lines and paragraphs break automatically.
  • Insert Flickr images: [flickr-photo:id=230452326,size=s] or [flickr-photoset:id=72157594262419167,size=m].

More information about formatting options