cover of episode How To Stop 301 Redirect Backlinks Negative SEO Attacks

How To Stop 301 Redirect Backlinks Negative SEO Attacks

2024/6/19
logo of podcast SEO Podcast: SEO Expert Chris Palmer Podcast

SEO Podcast: SEO Expert Chris Palmer Podcast

Frequently requested episodes will be transcribed first

Shownotes Transcript

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.