Saturday, May 12, 2007

Improving link popularity and PageRank of your blog by removing Nofollow attribute in the comments

Note: See update at the bottom of the post.

The New Blogger have added a Nofollow attribute into the template to prevent hyperlinks in the comments section from being followed by search engines. This is to discourage spammers from posting spam comments in Blogger blogs. However, if you, like me, often respond to comments with links to your own posts and/or add signature line with a link to your blog/blogs, that is a disadvantage to you, especially if you moderate your comments to weed out spam comments. By doing that, you allow search engines to follow links in the comments section and will help increase link popularity and PageRank. This will help you bring more traffic to your blog.

This will involve tampering with the template of your blog, and a wise step to take is always to backup your template before you make any changes so that if anything goes wrong, you can always upload the backup template and you will be back to where you were. If you don't know how to backup your template, refer to this post: Backing up and changing New Blogger template.

To remove the Nofollow attribute, sign into your Dashboard, click LAYOUT, then click the EDIT HTML sub-tab at the top of the template editor. Tick the Expand Widgets Template checkbox to expand the template. Look for this line of code:

<a expr:href='data:comment.authorUrl' rel='nofollow'><></a>

Delete the phrase rel='nofollow', preview to ensure everything is OK, then save the template.

If you have problem finding that line of code, click inside the template editor window, then press ctrl+A (or click the beginning of the codes and keep pressed down the left while scrolling right to the bottom of the template editor window) to highlight all the codes. Right-click on the mouse and select "copy" to copy the whole template into clipboard, open Notepad and paste the template into Notepad. Click "Edit" in the menu bar at the top and chose "select all" to highlight the whole codes. Repeat again, but this time select "Find". Type of copy-paste part or whole of the line of code you want to edit into the "Find what" field, then click "Find next" and whatever you are trying to find will be highlighted. Do what is necessary (delete rel='nofollow'), highlight all the edited template again and copy into clipboard, go back to the template editor. The whole template should still be highlighted. Press the "Delete" key to empty the template window and paste the edited template into the window. Preview to make sure everything is OK, and if so, then save the template.

UPDATE: I have checked Page Source of those blogs which have removed the "nofollow" attribute and the "notfollow" attributes are still existing in the Page Source thus indicating that this hack may not help.


  1. hey thanks
    really needed this one...your blog has been a real godsend...keep up the good work:)

  2. hey chen
    you gave the people really a chain to increase the traffic. i dont know whether i will be able to get it or not. but it is a great idea.
    keep it up

    best wishes

  3. HelloChen,
    thanks for your comment too. In the coming days I will try this no no-follow tip and of course will let you know my impressions.
    Best regards

  4. Thanks Chen for your tips. what are the other "Nofollow" that are there for? can you please let us know. thanks

  5. Hi

    Search engine spiders crawl site pages including comments. Once upon a time spammers leave spam comments with links to their sites to get more traffic, improve possibility of getting their site found by search engine, improve link popularity and thus PageRank. It was getting too much and people were getting fed-up. The blog software people got together and decided to add a NOFOLLOW attribute to the comment section so search engine don't follow the links in the comments. The spammers got wind of it and now there are much less comment spam.

    But for people like us who don't spam, it is a negative development.

    Peter (Blog*Star 2006 and 2007)
    Dummies Guide to Google Blogger
    "online book" in progress

  6. Hi,

    That's a very useful post. So far, I didn't know that we can "do follow" in Blogger comments. Thanks.

    Assess My Blog

  7. Hi Peter!

    This is another very helpful tip. I've applied it on my blog. Thanks much!

    By the way, I am glad that you like the award I gave. Thanks for grabbing the plaque.

    Hope you continue helping blogger like me. Have a nice day!


  8. I removed the "nofollow" from comment and even backlink, but when look at the source code of the comment page, I still see "nofollow", so I am not sure it's working. Would you be so kind to look at it? Many thanks!

  9. Amazing! I didn't know this, until now. I tried following your advice. I hope I did it right. Again, many thanks to YOU!

    Have a great day!

  10. Excellent work chen ! Many thanks !
    Keep up the good work !

  11. Search Engine actually crawls full blog, thats right & by removing no follow, we are allowing the SEO to be at better place, but actually this all happens when someone is going to open your blog & you get genuine returning visitors of around 10000-15000, thats what i have in my knowledge but actually i do not know how to make people that yes i had made a rich content blog/site which will interest them to read, so i wanna ask you how to market yourself best, because getting rank 1-10 in searching is very difficult as there is so much competition in mainly all keywords. So do tell me how to actually bring some regular traffic to site.

  12. As far as I understand, removing the REL=NOFOLLOW code in your HTML will help other bloggers improve their PR, but not your own.

    By removing it, you allow search engines to crawl links in comments on YOUR blog, but unless the blog you're commenting on did the same, this has no advantage to you. you also open yourself up for spam (unless you moderate your comments).

    I must say, your post title is therefore a little misleading, but good blog nonetheless.


    Please check out My SEO Blog. for more SEO tips and tricks.

  13. This 'do follow' tip is a great way to increase my blog's page rank. I've always wondered how to get rid of the 'no follow' tag, but just didn't know how. Thanks for the tip!

  14. Hey - if I can't find that "nofollow" anywhere in the code, does that mean my links are dofollow (rather, just not nofollow)?

  15. I have been meaning to update this post with a note that despite doing what this post described, by viewing Page Source, you can see the "nofollow"s are still there, giving doubts about the effectiveness of removing "nofollow" attribute this way.

  16. Thanks i was looking for this info really.

  17. Anonymous7/02/2010

    HI, I fillow your instruction, but my comments are still showing nofollow, can you please check my codes

    my site is

  18. Did you read the update? I have checked other blogs which claim the "nofollow" have been removed but their page source also showed "nofollow" still:

    UPDATE: I have checked Page Source of those blogs which have removed the "nofollow" attribute and the "notfollow" attributes are still existing in the Page Source thus indicating that this hack may not help.

  19. Hi Peter, Have applied alot of your tips throughout your blog. Lots of very useful stuff. Any thoughts on a work-around to get the dofollow to work? Best Wishes :)

  20. Am I to take it that all blogger blogs are therefore no follow - this seems to be a really negative step on the part of our blog hosts - DO YOU KNOW WHERE I CAN BEGIN A BLOG WHICH DOES FOLLOW AS I WANT TO REWARD MY READERS AND ENCOURAGE THEM TO RETURN BY ACCEPTING LINKS TO THEIR WEBSITES/BLOGS. Spam isn't a problem as there is a spam guard and all comments need to be moderated therefore no problem with spam at all, and all links can be prechecked for bad neighbourhoods! Paul from PD Architecture

  21. Paul, this "nofollow" attribute is only for links in comments because of excessive comment spams previously. With this enforced, the amount of comment spams have dropped tremendously. If you had been blogging in the early days, you would know why they have to do this.

    Note that blogs are very search engine friendly and it is possible for a new post to be already indexed by search engines within less than a day. I have noted that it can be within hours.

  22. Thanks....This is a nice idea to increase comments! Please check that my blog is now dofollow blog?

  23. Hello Peter can you find another way to do this because i am eager to do this thanks


Find help, info, instructions, tips, tricks

Tip: Use search box below or this box, labels in the first right sidebar, archive, ctrl+F for this page or sitemap to find topics