I need the html code for linking to someone without passing on PR....i guess its called a redirected link. eg: i want to link to www.url.com i normally use <a href="http://www.url.com">URL<a> this passes on pr and is a direct link.... whats the html code for a non direct link thanks
You can use <a href="http://www.url.com" rel="nofollow"> Code (markup): But using java script would also work. I think Google is the only one using the nofollow but noone of the se's take java links into consideration.
The easiest way would be to write a script in PHP, ASP, or your language of choice to redirect a link request to a given URL. Thus, a link like <a href="http://www.your-site.com?redir=sitecom">Site.com</a> Code (markup): will redirect the user to site.com via a 301 redirect (permanent redirect). If you are using PHP, you can do something like: <?php header("HTTP/1.0 301 Moved Permanently"); header("Location: http://www.site.com"); ?> Code (markup): This way, all links are actually pointed to your site and won't pass PR to that site. After the user click the link, they are sent to the desired site.
I was looking for something similar : I want all the links that go out of our site to have rel="nofollow", but keep the normal links on the internal links. I am far too lazy to do this one link at a time. So… is there way of making a php script that says if the link is internal http://www.xxxxx.com then leave it alone if its http://www.another site.com then add rel="nofollow"