19 December 2013

Make All External Links Nofollow in Blogger

// // 7 comments
After the Google Panda update, nofollow tags are the only way to secure your page rank juice. This is one of the most useful way for best Search Engine optimization practice of your blog is making all external links no-follow. Nofollow helps Google Bot to effectively crawl your website without visiting anyone’s else website. By using nofollow  your link juice will not going to share with others




Make All External Links Nofollow Automatically



  • Go to Blogger Setting Edit Template Backup your template before making any changes.
  •  Search for </head> tag and add the below code just above it.


<!--Remove this if you are already using any jQuery.js file--> <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js' type='text/javascript'></script> <!--End--> <script type="text/javascript"> jQuery(document).ready(function () { jQuery('a[href*="http://"]:not([href*="http://www.yourblogurl.com"])').attr('rel', 'nofollow'); jQuery('a[href*="https://"]:not([href*="https://www.yourblogurl.com"])').attr("target", "_blank"); }); </script>


  • Now save your template

Customization

From the above coding, just replace https://www.yourblogurl.com with your blog’s URL and save your template.You should also replace the .js script if you already have jquery into into your template. Now this plugin would automatically add nofollow attribution as well as target="_blank" to your all external links except your own domain.
 Must Read :  Highlighted Author Comment System Blogger


While writing a post, it is extremely straightforward to add a nofollow attribution to the external link and open it in a new window. Adding nofollow attributions manually to your all external links is indeed a mind-numbing task, but that might not be preferred all the time. Sometime you might have to make a link dofollow, but you can’t because your manual attribution would override your settings.So here we made the modest solution to add nofollow attribution automatically into your blogger blog,hope you'll like it.
Articles You May Like

7 comments: Leave Your Comments

  1. This would help your site be free of unwanted links.

    ReplyDelete
  2. This is very interesting. Going to do this to my blog. If I add this code now, would it make all my existing links no follow or only the new ones? Many thanks.

    ReplyDelete
  3. This is great! I'll be doing it right now! Thanks! :)

    ReplyDelete
  4. I'm bookmarking this. I was about to Google the difference between a no-follow and do-follow link and here is your article! Realized I've been using no-follow however some of the brands I'm collaborating with wants me to use do-follow. I don't know what to do :(

    ReplyDelete
  5. great share, i didnt know this, awesome!

    ReplyDelete