How to change rel nofollow in your comment field to dofollow
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.
Comments
One Response to “How to change rel nofollow in your comment field to dofollow”
Leave a Reply






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