Create NoFollow Link List Widget in Blogger

Posted by Lasantha Bandara on April 4th, 2017 File Under : html, seo, widget4 Comments

When you want to add an unordered link list to your Blogger blog and you don't know how to write HTML, easiest option is the "Link List" widget is provided by Blogger. But still there are no options in this widget to add a link as a nofollow link or open that link in a new browser tab. When we adding external links such as affiliate links to our websites, we should make them nofollow. This tutorial explains how to add nofollow attribute to the links in a Link List widget and how to make them open in a new window/new tab when someone click on them.

Add Blogger Link List Widget

1.Go to "Edit HTML" of your blog.

2.Find your Link List widget code. It usually starts with "<b:widget id='LinkList". It will look like this:

Blogger Link List Widget Code

3.Find this line in that code:

<li><a expr:href='data:link.target'><data:link.name/></a></li>

4.Replace it with this code:

<li><a expr:href='data:link.target' target='_blank' rel='nofollow'><data:link.name/></a></li>

You can see I have added target='_blank' rel='nofollow' to the original code.

Final code will look like this:

Blogger NoFollow Link List Widget Code

5.Save your template. That's it. Now links of the Link List widget have nofollow attribute and they will open in a new tab.

File Under : html, seo, widget

Related Posts

4 Responses to “Create NoFollow Link List Widget in Blogger”

  1. Rohit Mehra says:

    thanks you so much you are such a great blogger user i got succeed after read this i put nofollow "Automatic Link Exchange" in my http://raid-data-recovery-freeware.blogspot.com/ blog

    thanks yar

  2. Daniel White says:

    Thanks for this. I was wondering how to do this for future purposes.

  3. Daisy Garcia says:

    Hi i cant find <b:widget id='LinkList on my html template. Please help me. Thanks

  4. Julius says:

    Hi, thanks for this. I was also looking for a way to put nofollow tag on widgets. How about on iFrame elements is it the same, and just put the nofollow tag on the link? I am trying to put a nofollow tag on my ads that is why I am asking for it. Lastly, will this not affect my impressions in doing so? thanks!

Leave a Reply