Skip to:
Content
Pages
Categories
Search
Top
Bottom

Is this rule correct?

  • Avatar of imjscn
    imjscn
    Participant

    @imjscn

    The following anti-spam rule in .htaccess file works for a lot of people but not work for me. Maybe because my WP is sub-directory install?

    `# BEGIN ANTISPAMBLOG REGISTRATION
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} .register*
    RewriteCond %{HTTP_REFERER} !.*mydomain.com.* [OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule (.*) http://spam-die.com/ [R=301,L]
    # END ANTISPAMBLOG REGISTRATION`

You must be logged in to reply to this topic.