×

Remove WordPress' NoFollow Without A Plugin

do_follow

Published: 2010-10-03

And even better, do so without modifying the WordPress core files. It's really quite simple.

In your templates functions.php file add

Then in your comments.php file, find and replace any mention of

With

This simply replaces the core files "comment_author_link()" function with one of our own. The original has

as the link. We simply remove the rel attribute and change it to

and it removes the nofollow attribute from your comments. No modifying of the core files, and one less plugin to deal with.

If you have tips for removing other plugins and using your own solution, let me know in the comments.