• Resolved petrre

    (@petrre)


    I have the following htaccess file, but it does not seem to block buttons-for-website.com crawler. Is there something wrong?

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # block visitors referred from semalt.com
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} semalt\.com [NC]
    RewriteRule .* – [F]
    # End semalt block
    # block referer spam buttons for website
    RewriteEngine On
    RewriteCond %{HTTP_REFERER} buttons\-for\-website\.com
    RewriteRule ^.* – [F,L]
    # End buttons for website block
    # block referer spam 7makemoneyonline
    RewriteEngine On
    RewriteCond %{HTTP_REFERER} 7makemoneyonline\.com
    RewriteRule ^.* – [F,L]
    # End 7makemoneyonline block
    </IfModule>
    # END WordPress
    SetEnvIfNoCase Via evil-spam-proxy spammer=yes
    SetEnvIfNoCase Referer evil-spam-domain.com spammer=yes
    SetEnvIfNoCase Referer evil-spam-keyword spammer=yes
    SetEnvIfNoCase Via pinappleproxy spammer=yes
    SetEnvIfNoCase Referer semalt.com spammer=yes
    SetEnvIfNoCase Referer poker spammer=yes
    Order allow,deny
    Allow from all
    Deny from env=spammer

  • The topic ‘How to block buttons-for-website.com crawler by htaccess?’ is closed to new replies.