• I have used this code in my htaccess file

    # 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 spammers
    RewriteCond %{HTTP_REFERER} (\.)?(semalt|kambasoft|savetubevideo|seoanalyses|7makemoneyonline|darodar|buttons-for-website)\.com$ [NC]
    RewriteRule . - [F]
    
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    
    </IfModule>
    # END WordPress
Viewing 1 replies (of 1 total)
  • Thread Starter oberheimer

    (@oberheimer)

    I’m using this code now so will see if it works

    # block spammers
    RewriteEngine On
    RewriteCond %{HTTP_REFERER} ^http://.*semalt\.com [NC,OR]
    RewriteCond %{HTTP_REFERER} ^http://.*kambasoft\.com [NC,OR]
    RewriteCond %{HTTP_REFERER} ^http://.*savetubevideo\.com [NC,OR]
    RewriteCond %{HTTP_REFERER} ^http://.*darodar\.com [NC,OR]
    RewriteCond %{HTTP_REFERER} ^http://.*seoanalyses\.com [NC,OR]
    RewriteCond %{HTTP_REFERER} ^http://.*7makemoneyonline\.com [NC,OR]
    RewriteCond %{HTTP_REFERER} ^http://.*buttons-for-website\.com [NC]
    RewriteRule .* - [F]
    
    # 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]
    
    </IfModule>
    # END WordPress
Viewing 1 replies (of 1 total)
  • The topic ‘Block semalt doesn't work, can someone help me out’ is closed to new replies.