Skip to:
Content
Pages
Categories
Search
Top
Bottom

Is this rule correct?


  • 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`

  • The topic ‘Is this rule correct?’ is closed to new replies.
Skip to toolbar