Easy Way to Nofollow all external Links to your Blog

I gone through many of the Bloggers who are having lots of external links to their blog. Its okay to Do follow the External link if that link is having High PR and good Alexa ranking but if you are having the External website link which is having less PR and less Traffic then its important to nofollow such external links because such external links affect your rankings when you do follow it and increase the ranking of that external website and your Alexa ranking got shared with it. Lets directly move to the point on nofollow all such external links to your all previous posts by adding the small html snippet to the Blog. This guide will helps you to make all external links nofollow.
nofollow-all-external-links-blogger
If you are having the blogger blog then just move to the Dashboard and inside the Template Edit the HTML.

Click Inside the HTML code shown to you. Press (CTRL+F) and search the </head> section of the code. Now Above it place the following code.

<!–Remove this code if you already using any jQuery.js file–>
<script src=’http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js’ type=’text/javascript’/>
<!–End–>

<script type=’text/javascript’>
jQuery(document).ready(function () {

jQuery(‘a[href*=”http://”]:not([href*=”http://www.cyberworldhere.com”])’).attr(‘rel’, ‘nofollow’);

jQuery(‘a[href*=”https://”]:not([href*=”http://www.cyberworldhere.com”])’).attr(“target”, “_blank”);

});
</script>

Here i mentioned the URL of the my blog. Change it to your Home page URL.
Save the Template and you are done.

First jQuery line with Homepage URL adds the nofollow attributes to the All External URLs

Second line denotes that your All nofollow external link Targeted as Blank show it will open in the New window or Tab. So if you don’t want to open the External links in New Tab then Just remove that JQuery Line.

Now check if its been applied to your blog or not – Check dofollow and nofollow links.

You can also Nofollow the links manually to your Blogger Blogspot blog if you think that your blog having the less external links.

If you have any issue to add nofollow to all external links then let me know in comment box below.

Thanks !

Leave a Reply

Your email address will not be published. Required fields are marked *