fighting comment spam via .htaccess

i’m trying this snippet in my .htaccess file

RewriteEngine On
RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
RewriteCond %{HTTP_REFERER} !.** [OR]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule (.*) http://%{REMOTE_ADDR}/$ [R=301,L]

this detects when a POST is being made … checks the post destination … checks if the referrer is in your domain or if no referrer (
change to your …
sends the spam-bot back to its originating server’s ip address.

lets see if it works


talk to me

<a href="" title=""> <b> <cite> <code> <em> <i> <q cite=""> <s> <pre lang="" line="" escaped="" cssfile=""> <span lang=""> <img src=""> <u>