How to tag all outbound links as nofollow in blogger?

Discussion in 'Search Engine Optimization' started by umair922, Oct 12, 2012.

  1. #1
    My blog has thousands of external links to file hosting websites and now i am heard that these links cause decrease in page rank and i want to solve this problem but i have not enough time to edit every post and then edit every link and Add 'rel=nofollow' attribute to each link.
    I have searched for java script that automatically that do this automatically for all links i have found this

    <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'/>
    <script type='text/javascript'>
    <![CDATA[
    jQuery('a').each(function(){var a=jQuery(this).attr('href');if(typeof a!='undefined'&&a!=""&&(a.indexOf('http://')!=-1||a.indexOf('https://')!=-1)&&a.indexOf(window.location.hostname)==-1){jQuery(this).attr("rel","nofollow")}});
    ]]>
    </script>


    But this not work for me.
    I have also installed
    seo quake plugin in my google chrome that highlights nonfollow links, this shows me that above script is not working.

    I need such a script that nonfollow all outlinks to my website

    If any one has solution then please tell me.
     
    umair922, Oct 12, 2012 IP