How to Remove No Follow Attribute in Comments


All Blogger templates have the Nofollow attribute built into their comments. This is done to discourage comment spam. However you can, especially if you are a new blogger, encourage people to comment on your blog by removing this attribute. The Nofollow attribute instructs the search spiders not to follow the link thus preventing the spread of "Google Juice"...........

You can encourage people to comment on your blog once they recognize that links in comments are being followed. To discourage spam enable comment moderation in your Settings---->Comments. Also put a prominent text widget in your sidebar proclaiming that links in your comments are followed by the search bots. This will act as a freebait by sharing your link juice with fellow bloggers.

MODIFYING THE TEMPLATE

To do this login to dashboard and click on layouts of your blog. Then click on Edit Html subtab of Template tab. First backup your template by clicking on the Download Full Template link. Put a check in the Expand Widgets Template Checkbox at the top of the Edit Template text box. This expands the Blog Posts Widget Code within which is the comments code. Then scroll down till you come to :

<dl id='comments-block'>
<b:loop values='data:post.comments'var='comment'>
<dt class='comment-author'expr:id='"comment-" + data:comment.id'>
<a expr:name='"comment-" +data:comment.id'/>
<b:if cond='data:comment.authorUrl'>
<a expr:href='data:comment.authorUrl' rel='nofollow'><data:comment.author/></a>
<b:else/>
<data:comment.author/>
</b:if>
<data:commentPostedByMsg/>
</dt>


Delete the words in red in the above code : rel='nofollow' and save the template.

TEXT BOX WIDGET IN SIDEBAR


Click on Add Page Element link in sidebar on Page Elements subtab of Template tab. Choose Text widget and add following text in it :

COMMENT POLICY
Comments on this blog are made DOFOLLOW for the Google Spiders.
Comments are moderated.
Spam will not be tolerated.

Save the widget and place it in a prominent position in your sidebar.
By Admin n E.K

 
AWN-Blogportant Template by FreeTemplate