How to remove nofollow attribute from your WordPress blog
As you may already know, Wordpress the rel=”nofollow” attribute in comments. That makes any comment with a link on it have no significance for Google when they ranks websites. Getting rid of the rel=”nofollow” attribute is one of the tactics that many WordPress bloggers follow to get more people comment on their blogs. And in my view, this is quite fair – comments add content to a certain blog, the blog pays them back with a link that will be counted by Google, will rise their pagerank and make their way up in Google searches. So, let’s begin.
There are two ways through which you can turn off rel=”nofollow” attribute in your blog:
1. Changing WordPress Core
Editing Wordpress core might not be a good idea for bloggers who are not very familiar with coding. For others, like me, who can do any code editing, online through FTP or offline, this is something that they do everyday. That would save the time of downloading, installing and making work another plugin. However, keep in mind that you need to redo this action every time you do an upgrade.
There is only one file you need to edit and all you have to do is remove the word nofollow. This word is located at wp-includes/comment-template.php on line 148. It looks like this:
$return = "<a rel="external nofollow" href="$url">$author</a>";
All you have to do is remove the word nofollow only and save the file. This is it!
2. Employing a Plugin
If you do not feel comfortable with editing the WordPress core, you can employ a plugin to do that for you. Keep in mind that you will have the plugin too, when new versions are released. Below you will find a list of such plugins. Chose the one that is good for you and install it.
Time for publicity: By removing the nofollow attribute you are giving something away for free to your visitors, tell this to your visitors. You will motivate more people to comment for sure. Good luck!
PS: Don’t forget that WPlancer is a DoFollow blog and I love to hear what you think. Thanks!













jostmon
April 16, 2009at 3:55 am
If you want to know what I think, I would say that you are a good and generous person. I have used the nofollow free at one of my blog site (OrientOccidental.com) but I like the editing of the core more. I hope that you will sign up at my upcoming site (FreelanceHome.com). It should be completed in a couple of months and will need good members. Thank you.
Restate
April 17, 2009at 11:25 am
“Editing Wordpress core might not be a good idea for bloggers who are not very familiar with coding”
“This is nice plan”
Jessica
April 17, 2009at 11:56 am
Its ironic that many bloggers talk about this but then they actually use no follow I have seen many blogs leeching off the dofollow movement claiming to be dofollow sites but actually use nofollow, they are worse than the comment spammers in my eyes.
BANAGO
April 17, 2009at 10:18 pm
Yes, that can be true some time. That is not the caste with me though.
BANAGO
April 17, 2009at 10:21 pm
@ Jostmon: I would be glad to be a member of freelancehome. just let me know when it comes alive.
Frode H
April 18, 2009at 10:50 pm
Thank you for a great, detailed and correct guide. I have been reading blogging tips for weeks now, and “pimping” my blog to get the most out of it, and only today I found out what the dofollow/nofollow issue is all about. And in one minute my blog is a dofollow blog, thank you for this great tip. Usefull two thumbs up.
BANAGO
April 19, 2009at 1:58 pm
@Frode: Thank you for your great comment too.
Jostmon
April 21, 2009at 1:17 pm
@Jessica: I noticed that too. It bothers me that some might be using the dofollow to attract visitors by writing a blog about it and then not actually implement it. The no-follow free plugin is also lacking in the way of not making it clear what the criterion is for dofollow (i.e. members with 5 posts or more, etc.). Just saying comments may be no-follow free is too vague imo and is akin to deceptive advertising.
George Serradinho
April 24, 2009at 5:48 am
I have DoFollow by Kimmo Suominen installed on my blog.
I also have implemented CommentLuv to give my commenter’s some link love to show their last post.
I think with this combination, it helps out all in the end.
Dofollow
April 24, 2009at 2:06 pm
Well, there are some plugins which remove nofollow attribute automatically. Personally, I use them.
BANAGO
April 24, 2009at 3:58 pm
Yes, I think so too. Can you please tell me if I have missed any in the list above?
Bonu
April 27, 2009at 6:23 pm
Thanks post very interesting and site very very nice…..
Dollar Buddies Ragu
July 28, 2009at 12:04 am
Oh..Interesting tip..I was not aware of this..Thanks buddy
rock & republic jeans
August 8, 2009at 4:48 pm
WP rocks. I have a WP blog, though it is not properly customized.
Camping Table
August 31, 2009at 9:55 pm
Why would you promote changing a blog to do follow but then have this one as no follow? Kind of ironic isn’t it?
When WP (and others) went no follow by default, it affected blog traffic numbers for all blogs that did not change the follow status. I firmly believe that most bloggers don’t even know that the drop in their traffic is a direct result of that default status.
Thanks,
Bill
BANAGO
August 31, 2009at 10:25 pm
Hi Bill,
My blog is actually nofollow because of the upgrade. I use the core file change approach to change nofollow to dofollow and I have not done yet with this upgrade.
Thanks for reminding me.
Camping Table
September 1, 2009at 2:51 pm
Glad I could be of help.
Isn’t it a pain to have to change it even time there is an “upgrade”? LOL… life in “the code” I guess.
Bill
BANAGO
September 1, 2009at 2:53 pm
Yeah, I’m coding all day, that’s way
psd to css
September 23, 2009at 7:20 pm
Well, there are some plugins which remove nofollow attribute automatically. Personally, I use them.
Naishster
February 10, 2010at 2:36 pm
Thanks for the info, very interesting but I heard that google penalizes blogs that are do follow. Is that correct?
BANAGO
February 10, 2010at 3:55 pm
Never heard of something like that.