Put this script in your code area:
<script type="text/javascript">jQuery(document).ready(function(){
jQuery('a[href*="http://"]:not([href*="http://yoursite.ning.com"])').attr('rel','nofollow');
jQuery('a[href*="https://"]:not([href*="https://yoursite.ning.com"])').attr('rel','nofollow');
});</script>
Replies
what is this ? i cant understand this
ok let me just make sure i got this right if u want to let some links be follow just add the second & 3rd lines for each domain?
u deleted that reply but cool
umm
is there a way to exclude a page though?
i have 1 page which lists members websites which i give them free sites for relevant sites that link back (since i can offer free hosting)
then i list their sites
if i can make that page exempt that would be great or ill just manually add them to the script
Something like this:
<script type="text/javascript">jQuery(document).ready(function(){
jQuery('a[href*="http://"]:not([href*="http://site1"]):not([href*="http://site2"])').attr('rel','nofollow');
jQuery('a[href*="https://"]:not([href*="https://site1"]):not([href*="https://site2"])').attr('rel','nofollow');
});</script>
Another code: (please, put all in same line)
$("a
[href*='http://']:not([href*='"+location.hostname+"']),
[href*='https://']:not([href*='"+location.hostname+"'])")
.attr('rel','nofollow');
ok you lost me
heres what i ultimately want
my site
www.dreadlockssite.com
my biz site
www.domains-names-registration.com
my sites subdomains
shops.dreadlockssite.com
dating.dreadlockssite.com
forums.dreadlockssite.com
and i want any links on this page http://www.dreadlockssite.com/page/members-websites
to be excluded and allow follow from all links there and any links added in the future
now what your saying..i think? is to put that page as site 2?
but im not sure
And why would you want to make links no follow ?
many reasons
follow links encourage spammers who want the link credits for their sites
the more klinks to your site the better your ranking
follow links to other sites imply that your site recomends that site giving that site a higher ranking
in an abstract way you can think of links as valves you want more links giving credit flowing in and restrict the flow of link credits going out
it also is used to control the bots you want nofollow links to your dashboard for u=instance to keep the bots where you want them and not wandering into the dashboard and login pages
thanks for that info.
Deu certo !!! Obrigadoooo mesmooo valeuuu