25 December 2013

Make External Link Dofollow Automatically in Blogger

Dofollow links allow google (all search engines) to follow them and reach our website.  If a webmaster is linking back to you with this link both Search Engine and Humans will be able to follow you.When Google bots are crawling a website they look for external links point to other websites. If this links is “do follow” then search engines will follows the link and so link juice gets passed. These links are important in terms of SEO as they are tracked by search engines and the value (which is called link juice) of the links also gets transferred.

 Must Read :  Make All External Link Nofollow Autoatically

Make External Links Automatically Dofollow in Blogger

  • 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.

<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 href = jQuery(this).attr('href'); if (typeof href != 'undefined' && href != "" && (href.indexOf('http://') != -1 || href.indexOf('https://') != -1) && href.indexOf(window.location.hostname) == -1) { jQuery(this).attr("rel", "dofollow"); } }); ]]> </script>

  • Now save your template

 Must Read :  Highlighted Author Comment System Blogger


You should  replace the .js script if you already have jquery into into your template. Now this plugin would automatically add dofollow attribution into every external link of your blog.

Hope you liked this tutorial.If you do have any query regarding ask through your comments.Thanks for visiting.

Articles You May Like

3 comments: Leave Your Comments

  1. Very nice article and very useful for bloggers. Thanks 4 your effort.

  2. Thanks for this! I've heard of do-follow links before but I didn't really know how they work :)