Wondering how to stop 301 redirect backlinks from negative SEO attacks , this video will show you multiple ways to block IP’s along with URL’s so you can prevent negative attacks on your site.
This video goes over what each of these conditions do for your server or inside access file. See video for explanation of each code.
Note you can also find a walk through on adding to a Virtual Host if you manage a server , this way you can block any incoming issues to your server or site. If your using a CMS like WordPress accessing your HTA files is quite simple there are tons of tutorials on adding in conditions.
CODE FROM THE VIDEO:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.badwebsite.com$ [NC]
RewriteRule .* https://website to sendto.com [R,L]
Require all granted
Require not website or ip address
order allow,deny
deny from IP ADDRESS
allow from all
SetEnvIfNoCase Referer “badsite.com”bad_referer
Order Allow,Deny
Allow From All
Deny from env=bad_referer
RewriteEngine on
RewriteCond %{HTTP_REFERER} badsite.com [NC,OR]
RewriteRule .* – [F]
Negative SEO attacks from competitors is a problem so hopefully this can help at least one person from it hurting there website or websites.
Chris Palmer Marketing-SEO
30 W Broad St fl2
Tamaqua PA 18252
(570) 550-1912
source