How to Nofollow All External Links Automatically in Blogger


While writing a new post, it is very essential to add a Nofollow attribution to the external link and open it in a new window. This is to be made by default as one cannot always do the same work again and again. So here is the simple method which makes all your links to Nofollow by default.

Why to Nofollow external links?

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. It does not allow to pass the PageRank juice to any other external link specified. In simple words, giving a Nofollow link is like giving a text matter with a link.

So, the script given will automatically make the links in your website as Nofollow by default.

How to Nofollow All External Links Automatically in Blogger?

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

<script src='' type='text/javascript'></script>
<script type="text/javascript">
jQuery(document).ready(function () {
jQuery('a[href*="http://"]:not([href*=""])').attr('rel', 'nofollow');
jQuery('a[href*="https://"]:not([href*=""])').attr("target", "_blank");

After adding the above code in your template. you just replace the  with your website URL.


Leave a Reply

3 Comment threads
0 Thread replies
Most reacted comment
Hottest comment thread
3 Comment authors
Cena ZuhauTechie TipsMahesh Recent comment authors
newest oldest most voted
Notify of

Its worthy article and helpful thank you

Techie Tips

How to add Dofollow All External Links Automatically in Blogger

Cena Zuhau
Cena Zuhau

I’ve tried using this code snippet. But I don’t see… Read more »