Change WordPress Comments from nofollow to dofollow
You know all those plugins and stuff that you try to install to make the comments author’s links dofollow? I think they’re very good and sometimes you should just use them, it depends on what you want.
But there’s another way of making you comments author’s links dofollow, directly from WP platform.
This post it’s not about whether is good or not to have dofollow on the comments but just How To and that’s all. (here is a post that includes information as to why you should change comments to dofollow)
Here is the process to make comment links dofollow from the nofollow default for WordPress:
Go to public_html/wp-includes/comment-template.php
Around line you should have this, or something like this:
$return = “$author“;
Just remove the nofollow from there and the links become dofollow.
Result should be like this:
$return = “$author“;
That’s all

| Print article | This entry was posted by billwynne on February 3, 2010 at 4:34 am, and is filed under Wordpress. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |







about 7 months ago
what a lengthy and in depth article but full of useful information
Like or Dislike:
0
0
about 6 months ago
I got a virus in my computer, the virus randomly poops up websties when im online, or when i click on a link fro example a link from somthing i googled it send me to this ramdom pages. My internet explorer also keeps on saying that there was an error so it keeps shutting down. I already scaned my compuer several times and all it catches is a tracking cookie, It never picks up any virus. Also one of the sities that popped up was about norton popping up sites and had people’s comments of how annoying that was. It was a Norton site(wich pooped up too) I dont know if that is even relevant to this. Does anyone know what i can do about this, or how i could take the virus off? i dont wanna have to buy another antivirus? Please Help, my computer is even slower now and the sites are super annoying i cant even search anything either. Thanks guys I appreciate it [url=http://gordoarsnaui.com]santoramaa[/url]
Like or Dislike:
0
0
about 6 months ago
Luffie, I use a Mac and they don’t have any virus issues. Just consider that next time you buy a new computer. For now I would encourage you to download for free “Malwarebytes”. Google that and install it. Also get for free, “spybot”.
So you have Norton on your computer?
I would start with my two suggestions and if it does not help let me know.
Like or Dislike:
0
0
about 5 months ago
This is great! I have wondered how to attract more comments and heard about this and was glad to find your post. I will give this a try.
Thanks
Like or Dislike:
0
0
about 5 months ago
I have found out that it seems to attract more spammers as well but with the wordpress askimet plugin there is no problem. Let me know your results.
Like or Dislike:
0
0
about 5 months ago
Appreciate the post. Great site.
Like or Dislike:
0
0
about 5 months ago
Come back and leave some good comments.
Like or Dislike:
0
0
about 5 months ago
Thanks
Like or Dislike:
0
0
about 5 months ago
Welcome Tristan
Like or Dislike:
0
0
about 5 months ago
Thanks for posting this. It is very easy to follow and I will do it today for my site.
Like or Dislike:
0
0
about 5 months ago
Welcome Ian
Like or Dislike:
0
0
about 2 months ago
Hi Bill
Just one problem with your suggestion — every time you upgrade your WP install you run the risk of losing your changes. That’s why the plugins were made. They use a filter to process the output afterwards and are not affected by upgrades.
If you don’t upgrade or are willing to go back in and make the change every time then this method is okay.
Like or Dislike:
0
0
about 2 months ago
LoneWolf,
You are right. When you do this kind of more advanced work you need to make sure you are organized and will keep the code you changed somewhere in case there is a glitch. This is not for the newbie by any means. Thanks for pointing that out.
Like or Dislike:
0
0