Menu Close

Remove nofollow attribute from the comment reply link – WordPress


Learn how to editing it the Comment reply link in WordPress post.

I got the some SEO errors for having nofollow attribute for comment reply link. I added below codes on function.php to resolve the issue.

function remove_nofollow($link, $args, $comment, $post){
	return str_replace("rel='nofollow'", "", $link);

add_filter('comment_reply_link', 'remove_nofollow', 420, 4); 
Posted in PHP, WordPress

You can also read...