WordPress.org

Forums

[Plugin: spam-stopper] Doesn't appear to work with the new 3.0 release (5 posts)

  1. bygracenotmerit
    Member
    Posted 4 years ago #

    This worked GREAT until I upgraded to wordpress 3.0. I'm so disappointed!

    http://wordpress.org/extend/plugins/spam-stopper/

  2. Hax
    Member
    Posted 4 years ago #

    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.

  3. Mike
    Member
    Posted 4 years ago #

    What went wrong with 3.0?

  4. Mike
    Member
    Posted 4 years ago #

    Updated with fixes

  5. Honorgate
    Member
    Posted 4 years ago #

    Thanks Hax for .htaccess solution.
    I try it ! :)

Topic Closed

This topic has been closed to new replies.

About this Topic