Welcome to WebmasterWorld Guest from 54.146.194.42

Forum Moderators: mademetop

Message Too Old, No Replies

Rel="nofollow" alternative

Blocking PR flow by robots.txt

     
3:10 pm on Nov 17, 2009 (gmt 0)

New User

5+ Year Member

joined:Jan 2, 2009
posts:26
votes: 0


hi there,

I want to block the PR flow to one particular link by using either robots.txt or by any other way( if its there suggest me plz)

Can you tell me how to do this.

Thanks
Shahab khan

4:47 pm on Nov 17, 2009 (gmt 0)

Moderator from US 

WebmasterWorld Administrator lifeinasia is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 10, 2005
posts:5550
votes: 24


If you've got a link on the page, the PR will flow through it. If you have nofollow, the link juice just disappears and doesn't help anyone.
4:53 pm on Nov 17, 2009 (gmt 0)

Senior Member

joined:Jan 27, 2003
posts:2534
votes: 0


The same applies if you use any method of robots exclusion. If your aim is to "preserve" pagerank for yourself then you would have to write the link in a way that is unreadable to search engines.

If you're just trying to stop someone getting link benefit, then nofollow, robots exclusion are all possibilities.

10:08 pm on Nov 24, 2009 (gmt 0)

New User

5+ Year Member

joined:Nov 22, 2009
posts:23
votes: 0


nofollow, robots and javascript will block the PR flow
9:04 am on Nov 25, 2009 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10542
votes: 8


use javascript to write the link.
put the javascript in an external file.
use robots.txt to exclude access to the javascript file.
3:59 am on Dec 1, 2009 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member themadscientist is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 14, 2008
posts:2910
votes: 62


Out of sheer curiosity, are you trying to do this so the owner of the site the link is pointing to will not know the link doesn't pass weight? IOW does the fact the link does not pass weight need to be generally undetectable?

And, if not, you should be able to run the link through a server-side redirect script and exclude that file in the robots.txt, which is much the same as the suggestion above.

12:51 am on Dec 9, 2009 (gmt 0)

New User

5+ Year Member

joined:Nov 22, 2009
posts:23
votes: 0


Google can read javascript. use robots.txt and nofollow