Joethemonkey101
Junior Member
- Jul 23, 2013
- 174
- 36
Hi, I'm working on building a PBN and I'm trying to block ahrefs and all the other backlink websites. I found some threads dealing with this but they are a couple of years old so I wanted to make sure everything is still the same.
Firstly, I'm editing the htaccess code of my PBN sites, but how does this block ahrefs? Does it mean that people can't look at the backlinks pointed at my PBN site or the PBN backlink pointed at my money site?
Secondly, is my htaccess file OK?
And lastly, how can I edit my robots.txt file?
Thanks in advanced
Firstly, I'm editing the htaccess code of my PBN sites, but how does this block ahrefs? Does it mean that people can't look at the backlinks pointed at my PBN site or the PBN backlink pointed at my money site?
Secondly, is my htaccess file OK?
Code:
# 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>
SetEnvIfNoCase User-Agent .*rogerbot.* bad_bot
SetEnvIfNoCase User-Agent .*exabot.* bad_bot
SetEnvIfNoCase User-Agent .*mj12bot.* bad_bot
SetEnvIfNoCase User-Agent .*dotbot.* bad_bot
SetEnvIfNoCase User-Agent .*gigabot.* bad_bot
SetEnvIfNoCase User-Agent .*ahrefsbot.* bad_bot
SetEnvIfNoCase User-Agent .*sitebot.* bad_bot
<Limit GET POST HEAD>
Order Allow,Deny
Allow from all
Deny from env=bad_bot
</Limit>
# END WordPress
And lastly, how can I edit my robots.txt file?
Thanks in advanced