How To Become Blogger Blogroll Nofollow

Posted by Lasantha Bandara on April 2nd, 2018 File Under : html, seo, widget2 Comments

This is useful if you consider about your site's SEO. Nofollow links do not pass Page Rank. So, using the nofollow attribute on your link means that link won't pass PageRank to another page. If you like to add "nofollow" attribute to the blogroll widget of your blogger blog, simply follow the steps given below:

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

2.Scroll down to till you see your Blogroll widget code (Note : You may also can find it by searching <b:widget id='BlogList ) :

Your Blogroll widget code will look like this:

<b:widget id='BlogList1' locked='false' title='Blogroll' type='BlogList' version='1' visible='true'>
<b:includable id='main'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != &quot;&quot;'>
  <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 + &quot;_container&quot;'>
    <ul expr:id='data:widget.instanceId + &quot;_blogs&quot;'>
      <b:loop values='data:items' var='item'>
        <li expr:style='data:item.displayStyle'>
          <div class='blog-icon'>
            <b:if cond='data:showIcon == &quot;true&quot;'>
              <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 == &quot;true&quot;'>
                <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 == &quot;true&quot;'>
                <span class='item-title'>
                  <b:if cond='data:item.itemUrl != &quot;&quot;'>
                    <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 == &quot;true&quot;'>
                <b:if cond='data:showItemTitle == &quot;true&quot;'>
                  -
                </b:if>
                <span class='item-snippet'>
                  <data:item.itemSnippet/>
                </span>
              </b:if>
              <b:if cond='data:showTimePeriodSinceLastUpdate == &quot;true&quot;'>
                <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 &gt; data:numItemsToShow'>
        <div class='show-option'>
          <span expr:id='data:widget.instanceId + &quot;_show-n&quot;' style='display: none;'>
            <a href='javascript:void(0)' onclick='return false;'><data:showNText/></a>
          </span>
          <span expr:id='data:widget.instanceId + &quot;_show-all&quot;' 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>

3.Now add rel='nofollow' to your blogroll widget code as the example below:

<b:widget id='BlogList1' locked='false' title='Blogroll' type='BlogList' version='1' visible='true'>
<b:includable id='main'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != &quot;&quot;'>
 <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 + &quot;_container&quot;'>
   <ul expr:id='data:widget.instanceId + &quot;_blogs&quot;'>
     <b:loop values='data:items' var='item'>
       <li expr:style='data:item.displayStyle'>
         <div class='blog-icon'>
           <b:if cond='data:showIcon == &quot;true&quot;'>
             <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' rel='nofollow' target='_blank'>
               <data:item.blogTitle/></a>
           </div>
           <div class='item-content'>
             <b:if cond='data:showItemThumbnail == &quot;true&quot;'>
               <b:if cond='data:item.itemThumbnail'>
                 <div class='item-thumbnail'>
                   <a expr:href='data:item.blogUrl' rel='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 == &quot;true&quot;'>
               <span class='item-title'>
                 <b:if cond='data:item.itemUrl != &quot;&quot;'>
                   <a expr:href='data:item.itemUrl' rel='nofollow' target='_blank'>
                     <data:item.itemTitle/></a>
                 <b:else/>
                   <data:item.itemTitle/>
                 </b:if>
               </span>
             </b:if>
             <b:if cond='data:showItemSnippet == &quot;true&quot;'>
               <b:if cond='data:showItemTitle == &quot;true&quot;'>
                 -
               </b:if>
               <span class='item-snippet'>
                 <data:item.itemSnippet/>
               </span>
             </b:if>
             <b:if cond='data:showTimePeriodSinceLastUpdate == &quot;true&quot;'>
               <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 &gt; data:numItemsToShow'>
       <div class='show-option'>
         <span expr:id='data:widget.instanceId + &quot;_show-n&quot;' style='display: none;'>
           <a href='javascript:void(0)' onclick='return false;'><data:showNText/></a>
         </span>
         <span expr:id='data:widget.instanceId + &quot;_show-all&quot;' 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 save your template and you are done.

File Under : html, seo, widget

Related Posts

2 Responses to “How To Become Blogger Blogroll Nofollow”

  1. Beben says:

    its a metode for avoid case like spam right...
    great

  2. Vaser in Bangok says:

    Veгy nіce post. I just stumbled upon your weblog
    and ωanted to say thаt I've truly enjoyed browsing your blog posts. After all I will be subscribing to your feed and I hope you write again soon!

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.