PDA

View Full Version : Remove nofollow if PR is greater then...


sidneyrill
05-16-2007, 07:50 PM
If you import Links from DMOZ or Google, then these links are set to nofollow.

High ranked outbound Links can also improve your site ranking.

Here is how to remove the nofollow from all links with a PR higher then X

Edit link.tpl

Find:
Content visible to registered users only.

Replace with:
Content visible to registered users only.


If you replace X with 5 then all links with a PR of 5 and higher will have the nofollow removed.

Needless to say that you must have pagerank enabled in your admin Panel.

coldgansta
06-29-2007, 12:13 PM
as i set all my free links to nofollow all 800 of them peeps were giving me bad feedback for it.so instead of seting them to follow 1 by 1 i used your mod.
Thanks

searchangle
09-06-2007, 05:42 AM
How would you implement this on the details pages?

sidneyrill
09-07-2007, 01:01 AM
Same code should work

searchangle
09-07-2007, 05:40 AM
It doesnt seem to work. It never shows nofollow on mine... I thought it may have to do with $Link. ??

shadav
09-07-2007, 12:51 PM
yes on detail.tpl i've noticed i usually have to remove link
$link.ID won't work but $ID does....not sure why, but eh whatever

searchangle
09-08-2007, 06:40 AM
Content visible to registered users only.

Yeah, I tried that tooo... oh well. Doesnt seem to work on mine detail page for some reason. Is there a js or php call that needs to be on the detail page to recognize $Pagerank?

sidneyrill
09-10-2007, 03:24 PM
Here is the complete code for detail.tpl

Content visible to registered users only.

for link.tpl
Content visible to registered users only.