Just take the following code and put it into your functions.php file right before the ?>:

function add_nofollow_to_reply_link( $link ) {
return str_replace( '")\'>', '")\' rel=\'nofollow\'>', $link );
}

add_filter( 'comment_reply_link', 'add_nofollow_to_reply_link' );

Categorized in:

Tech & AI,

Last Update: February 27, 2026

Tagged in:

,