How To Automatically Add ‘nofollow’ To all Blogrolls On Blogger Blog

What Is A Nofollow Tag?

A “nofollow” tag is a HTML attribute of the <a> tag which tells search engines like Google not to index a particular link in which you apply the “nofollow” rule to.

What are the importance of adding nofollow tag??

1. You should add a nofollow attribute to your blogroll to avoid panda effect on your blog. It can reduce your blog traffic by 70%
3. Some links are harmful to blog content as it distracts the spiders from your main keywords. As a result your post will rank lower.

How Can I Do This?
To add a Nofollow Attribute to your blogroll, follow these few steps below.

1. Go To your Blogger Dashboard
2. Click the drop-down menu next to the gray Post List icon and select Template. Then click on Edit HTML

3. Hold Ctrl F and Search for the below code:

<b:widget id=’BlogList

You blogroll widget code in your template may be like this,
<b:widget id=’BlogList1′ locked=’false’ title=’Blogroll’ type=’BlogList’>
<b:includable id=’main’>
<!– only display title if it’s non-empty –>
<b:if cond=’data:title != “”‘>
<div id=’blog-list-title’>
<h2 class=’title’><data:title/></h2>
</div>
</b:if>
<div class=’widget-content’>
<div class=’blog-list-container’ expr:id=’data:widget.instanceId + “_container”‘>
<ul expr:id=’data:widget.instanceId + “_blogs”‘>
<b:loop values=’data:items’ var=’item’>
<li expr:style=’data:item.displayStyle’>
<div class=’blog-icon’>
<b:if cond=’data:showIcon == “true”‘>
<input expr:value=’data:item.blogIconUrl’ type=’hidden’/>
</b:if>
</div>
<div class=’blog-content’>
<div class=’blog-title’>
<a expr:href=’data:item.blogUrl’ target=’_blank’>
<data:item.blogTitle/></a>
</div>
<div class=’item-content’>
<b:if cond=’data:showItemThumbnail == “true”‘>
<b:if cond=’data:item.itemThumbnail’>
<div class=’item-thumbnail’>

<a expr:href=’data:item.blogUrl’ target=’_blank’>

<img alt=” border=’0′ expr:height=’data:item.itemThumbnail.height’ expr:src=’data:item.itemThumbnail.url’ expr:width=’data:item.itemThumbnail.width’/>
</a>
</div>
</b:if>
</b:if>
<b:if cond=’data:showItemTitle == “true”‘>
<span class=’item-title’>
<b:if cond=’data:item.itemUrl != “”‘>

<a expr:href=’data:item.itemUrl’ target=’_blank’>

<data:item.itemTitle/></a>
<b:else/>
<data:item.itemTitle/>
</b:if>
</span>
</b:if>
<b:if cond=’data:showItemSnippet == “true”‘>
<b:if cond=’data:showItemTitle == “true”‘>
</b:if>
<span class=’item-snippet’>
<data:item.itemSnippet/>
</span>
</b:if>
<b:if cond=’data:showTimePeriodSinceLastUpdate == “true”‘>
<div class=’item-time’>
<data:item.timePeriodSinceLastUpdate/>
</div>
</b:if>
</div>
</div>
<div style=’clear: both;’/>
</li>
</b:loop>
</ul>
<b:if cond=’data:numItemsToShow != 0′>
<b:if cond=’data:totalItems > data:numItemsToShow’>
<div class=’show-option’>
<span expr:id=’data:widget.instanceId + “_show-n”‘ style=’display: none;’>
<a href=’javascript:void(0)’ onclick=’return false;’><data:showNText/></a>
</span>
<span expr:id=’data:widget.instanceId + “_show-all”‘ style=’margin-left: 5px;’>
<a href=’javascript:void(0)’ onclick=’return false;’><data:showAllText/></a>
</span>
</div>
</b:if>
</b:if>
<b:include name=’quickedit’/>
</div>
</div>
</b:includable>
</b:widget>

4. Now, To Add ‘nofollow’ to your blogroll links, follow the example below

<b:widget id=’BlogList1′ locked=’false’ title=’Blogroll’ type=’BlogList’>
<b:includable id=’main’>
<!– only display title if it’s non-empty –>
<b:if cond=’data:title != “”‘>
<div id=’blog-list-title’>
<h2 class=’title’><data:title/></h2>
</div>
</b:if>
<div class=’widget-content’>
<div class=’blog-list-container’ expr:id=’data:widget.instanceId + “_container”‘>
<ul expr:id=’data:widget.instanceId + “_blogs”‘>
<b:loop values=’data:items’ var=’item’>
<li expr:style=’data:item.displayStyle’>
<div class=’blog-icon’>
<b:if cond=’data:showIcon == “true”‘>
<input expr:value=’data:item.blogIconUrl’ type=’hidden’/>
</b:if>
</div>
<div class=’blog-content’>
<div class=’blog-title’>

<a expr:href=’data:item.blogUrl’ ref=’nofollow’ target=’_blank’>

<data:item.blogTitle/></a>
</div>
<div class=’item-content’>
<b:if cond=’data:showItemThumbnail == “true”‘>
<b:if cond=’data:item.itemThumbnail’>
<div class=’item-thumbnail’>

<a expr:href=’data:item.blogUrl’ ref=’nofollow’ target=’_blank’>

<img alt=” border=’0′ expr:height=’data:item.itemThumbnail.height’ expr:src=’data:item.itemThumbnail.url’ expr:width=’data:item.itemThumbnail.width’/>
</a>
</div>
</b:if>
</b:if>
<b:if cond=’data:showItemTitle == “true”‘>
<span class=’item-title’>
<b:if cond=’data:item.itemUrl != “”‘>
<a expr:href=’data:item.itemUrl’ ref=’nofollow’ target=’_blank’>
<data:item.itemTitle/></a>
<b:else/>
<data:item.itemTitle/>
</b:if>
</span>
</b:if>
<b:if cond=’data:showItemSnippet == “true”‘>
<b:if cond=’data:showItemTitle == “true”‘>
</b:if>
<span class=’item-snippet’>
<data:item.itemSnippet/>
</span>
</b:if>
<b:if cond=’data:showTimePeriodSinceLastUpdate == “true”‘>
<div class=’item-time’>
<data:item.timePeriodSinceLastUpdate/>
</div>
</b:if>
</div>
</div>
<div style=’clear: both;’/>
</li>
</b:loop>
</ul>
<b:if cond=’data:numItemsToShow != 0′>
<b:if cond=’data:totalItems > data:numItemsToShow’>
<div class=’show-option’>
<span expr:id=’data:widget.instanceId + “_show-n”‘ style=’display: none;’>
<a href=’javascript:void(0)’ onclick=’return false;’><data:showNText/></a>
</span>
<span expr:id=’data:widget.instanceId + “_show-all”‘ style=’margin-left: 5px;’>
<a href=’javascript:void(0)’ onclick=’return false;’><data:showAllText/></a>
</span>
</div>
</b:if>
</b:if>
<b:include name=’quickedit’/>
</div>
</div>
</b:includable>
</b:widget>

Notice: I highlighted target=’_blank’> in the first and second codes so as to enable you locate where to add your nofollow tag faster……

Save Your Template and Enjoy a Nofollow Comment Link.