This tips only for blog that used the wordpress.org platform. Like us knew rel-dofollow inside blog will be regarded as backlink by search engine. But in the Wordpress comment field was used NoFollow as default. We can change to DoFollow by using DoFollow plugin, unfortunately because several bugs certain, recommended to change them with manual method.

Below the step of manual method :

Step 1: To change Comment Author link became DoFollow
Open your wp-includes folder then open comment-template.php file. Find the code along with:

$return = “<a href=’$url’ rel=’external nofollow’>$author</a>”;

Delete the word “nofollow” , so that code will be like this :

$return = “<a href=’$url’ rel=’external’>$author</a>”;

Step 2: To change Comment Field link became DoFollow
Open your wp-includes folder then open default-filters.php file. Find the code along with:

add_filter(’pre_comment_content’, ‘wp_rel_nofollow’, 15);

Added // in front of that code , so will be like this :

//add_filter(’pre_comment_content’, ‘wp_rel_nofollow’, 15);

Done, your blog comment field already DoFollow now. One more thing, do not forget to activated your akismet plugin before doing all kind above. What is the benefit of using DoFollow in comment field? Please check, Mike sharing about it. Thanks Mike.


Social Bookmarking

Posted on Tuesday, 12th August 2008 by alfan in Blogging | Comments (4)


Tags: , ,




4 Responses to “How to change rel nofollow in your comment field to dofollow”

  1. How to check that website or blog is dofollow or not Says:

    [...] this posting helping you to do link building by blog commenting with dofollow in comment field for your [...]

  2. harry Says:

    thanks for the help, my blog’s comment is now do-follow:-)

  3. How I Built My Pool Says:

    All of my blogs are now dofollow. I feel it is good to give back to those that comment. I have pretty good spam protection. I just delete any spam that might get through.

  4. Liquid Roof Says:

    Nice Tips in this way we can enjoy the benefits of dofollow easily. Thanks for such a good hit for the blogs.

Leave a Reply

Security Code: