Support » Plugins and Hacks » [Plugin: spam-stopper] Doesn’t appear to work with the new 3.0 release

Viewing 4 replies - 1 through 4 (of 4 total)
  • best way to stop spam if you are on a apache/linux server is to add this code into your .htaccess file

    # only accept comments from people comming from the site
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
    RewriteCond %{HTTP_REFERER} !.*pbth.net.* [OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]

    basically is telling your server not to process your comments ( wp-comments-post.php file ) if the request didn’t came from your domain.

    Mike

    (@jolley_small)

    What went wrong with 3.0?

    Mike

    (@jolley_small)

    Updated with fixes

    Thanks Hax for .htaccess solution.
    I try it ! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: spam-stopper] Doesn’t appear to work with the new 3.0 release’ is closed to new replies.