62.gif

Search (advanced search)
Use this Search form before posting, asking or make a new thread.
Tips: Use Quotation mark to search words (eg. "How To Make Money Online")

04-03-2012, 12:23 AM (This post was last modified: 04-03-2012 12:24 AM by blackhatxx.)
Post: #1
How To Prevent and Redirect Bad Backlinks
Backlinks are everything when it comes to SEO, and unfortunately if at any given time a "bad" backlink appears on Google...there's not really a whole lot we can do about it.

So with that said, here's a little code snippet that will actually redirect a bot back to Google that may be coming in from that "backlink" and in theory disregard it.


Code:
RewriteCond %{HTTP_REFERRER} domainname\.com [NC]RewriteRule (.*) http://www.google.com/ [R=301,L]

***********PLace in your .htaccess file ***********
04-04-2012, 01:36 AM
Post: #2
RE: How To Prevent and Redirect Bad Backlinks
hi, in theory? can you explain more about. How to know what are the bad links
01-15-2014, 03:15 PM
Post: #3
RE:
Hi all. good lucky to you.
05-07-2014, 04:06 AM
Post: #4
RE:
thanks, reps given
08-08-2014, 08:33 PM
Post: #5
RE:
Thanks
+rep added, please explain a bit.
79.gif
08-08-2014, 08:36 PM
Post: #6
RE:
Thanks Bro +rep
Believe In The Power Inside You! And Take Action..
08-11-2014, 03:18 PM
Post: #7
RE:
You can also use PHP to do a 301 redirect - which would make it a lot easier if you're dealing with a large amount of URLs that need to be pointed back to Google. Just a suggestion since adding thousands of lines in a .htaccess file can significantly slow down your server. :)




41.gif
Free counters!