Add to Technorati Favorites

Wednesday, September 17, 2008


Yesterday I wrote about the nofollow attribute and how it helps to prevent link spamming. The nofollow attribute is by default available in Blogger templates comments section and also in code.

As blogging softwares by default use nofollow tag, many bloggers don't even realize that they are using nofollow tag and if a blogger moderates comments, there is no need for nofollow attribute.

I decided to do some research for removing nofollow attribute from code and comments area and I do found some really good articles about this & I also removed nofollow tag from my blog :). Following is the way by which you can remove nofollow tag from blogger templates comments and main code section:

To remove nofollow tag from blog code:

  • Login to Dashboard and click on Layout. Click on edit HTML tab.
  • Backup template by clicking on the Download full template link. This will serve as a backup copy for your code.
  • Put a check on the Expand Widgets template check box.
  • Look for the following code in the template (Use <>
[b:includable id='backlinks' var='post'>
[a name='links'/>[h4>[data:post.backlinksLabel/>[/h4>
[b:if cond='data:post.numBacklinks != 0'>
[dl class='comments-block' id='comments-block'>
[b:loop values='data:post.backlinks' var='backlink'>
[div class='collapsed-backlink backlink-control'>
[dt class='comment-title'>
[span class='backlink-toggle-zippy'> [/span>
[a expr:href='data:backlink.url'
[b:include data='backlink' name='backlinkDeleteIcon'/>

rel='nofollow' which is colored in the blue in the above given code and save the code. Now Googlebot will follow the backlinks from your posts.

To remove nofollow tag from comments area

You can search for "rel='nofollow'" in the code & remove that or you can look for following code (Use < id="'comments-block'">
[b:loop values='data:post.comments'var='comment'>
[dt class='comment-author'expr:id='"comment-" +'>
[a expr:name='"comment-"'/>
[b:if cond='data:comment.authorUrl'>
[a expr:href='data:comment.authorUrl'

Again remove the
rel='nofollow' which is colored in blue in the above given code and save the code. Now Googlebot will follow the backlinks from your comment section.

As what title of this post says "REMOVE NOFOLLOW TAG BUT DON'T LET SPAMMERS MISUSE THIS", Make sure that you moderate comments on posts and remove unwanted spammers from comments and when you give link juice to someone, make sure you are giving it to a good & spam free website.