How To Nofollow All External Links Automatically In Blogger

{tocify} $title={Table of Contents}

Are you a selfish blogger like me, who won't love to pass link juice to other blogs?

Wanna get rid of all the outbound link penalties?

Wanna know " How to add Nofollow tag to all external links automatically in Blogger"?
nofollow-all-external-links-automatically-in-blogger


Outbound Linking is really helpful for your blog visitors. Because it gives more information to the visitor.

For example, If you are writing about On page Seo and you wrote a keyword that Improves your traffic with low competition keywords and wanna show a proof that it really works.

At the same time, a famous blogger written a blog post that proves your statement. So you will link to it and your blog visitors get some more information.

But what, if a Low quality and spammy blog wrote the proof of the above statement?

Will you link to that and get banned by an algorithm of Google?

For this purpose, we will add a nofollow tag. In this blog post, We will tell you "How to add Nofollow tag to all external links automatically in Blogger and it's advantages " .

How To Add Tag To All External Links In Blogger


1. Go to Blogger > Theme.

2. Click on Edit HTML.

3. Search for </head> and before the </head>, add the below code :

Code credits : http://www.mybloggerlab.com

<!--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://example.com"])').attr('rel', 'nofollow');
jQuery('a
[href*="https://"]:not
([href*="https://www.example.com"])').attr("target", "_blank"); });
</script>

Change example.com to your domain URL.

4. Click on Save.

So, What happened?

This code is based on Jquery.

The code informs that nofollow all external links in your blog and open them in a new window ( Because of the Target=" Blank " code ).

But, this code doesn't add a nofollow tag to your internal links. Because this code contains a code ( Don't add, nofollow tag to internal links to your blog ).


Why Nofollow All External Links



With a nofollow tag, we can avoid passing link juice to other blogs. This will improve rankings of your blog.


Avoid Penalties: Google never loves spammy blogs. At the same time, Google hates blogs that link to spammy blogs. For providing some more information to visitors, We should sometimes link to spammy blogs. With a nofollow tag, we can avoid passing link juice to the spammy blogs. So, there is no chance of getting banned by search engines like Google.


Decrease Bounce rate: As we added a Target = " Blank " tag in our code, all the links will be opened in New tab. And the bounce rate of our blog will be reduced resulting in high CTR and CPC.


Conclusion



In this way, you can add Nofollow tag to all external links automatically in Blogger and can get higher rankings in Google.

For some more updates of Blogger and some more Blogger plugins, you should subscribe to us and get latest posts in your inbox.

Post a Comment

Please provide your comments related to the contents of the article above, comment politely and leave no spam. Thank you

Previous Post Next Post