#1 Tech Blog In Kerala

How to Nofollow All External Links Automatically in 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. We have a modest solution to add nofollow attribution automatically. In this article, we will show you How to nofollow All External Links in Blogger Through jQuery Plugin.

The first thing you need to do is to add an install a jQuery plugin into your Blogger Template. Go to Blogger.com >> Template >> Edit HTML >> Proceed, search for the ending </head> tag and just above it paste the following JavaScript coding.

<!--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.mybloggerlab.com"])').attr('rel', 'nofollow');

jQuery('a[href*="https://"]:not([href*="https://www.mybloggerlab.com"])').attr("target", "_blank");

    });
</script>


From the above coding, just replace www.mybloggerlab.com with your blog’s URL and save your template. Now this plugin would automatically add nofollow attribution as well as target="_blank" to your all external links except your own domain.

Frequently Asked Questions



Why to Do tHis?
Nofollow is a value which is used to instruct some search engines that a hyperlink should not influence the external links targeted ranking in Search engine results. In simple words, it does not allow to pass the PageRank juice to any other external link.

IS It good for SEO?
It is indeed a sensible act to nofollow all external links because it does not fully pass the ranking juice to other site. However, some SEO specialists and experts always states that even a nofollow Link has its significance because a backlink remains a backlink it does not matters whether it is a nofollow backlink or a dofollow backlink.