WordPress 評論時間 nofollow 與評論連結 nofollow 、閱讀全文 more-link nofollow 如出一轍,都是由於他們的連結後面加了 #* 這樣的錨文字。

修改方法

在 /wp-includes/comment-template.php 檔案中找到

<div ><a href="<?php%20echo%20htmlspecialchars(%20get_comment_link(%20$comment->comment_ID%20)%20)%20?>">
    <?php
        /* translators: 1: date, 2: time */
        printf( __('%1$s at %2$s'), get_comment_date(),  get_comment_time()) ?></a><?php
        edit_comment_link(__('(Edit)'),'&nbsp;&nbsp;','' );
    ?>
</div>

修改為

<div ><a rel="nofollow" href="<?php%20echo%20htmlspecialchars(%20get_comment_link(%20$comment->comment_ID%20)%20)%20?>">
    <?php
        /* translators: 1: date, 2: time */
        printf( __('%1$s at %2$s'), get_comment_date(),  get_comment_time()) ?></a><?php
        edit_comment_link(__('(Edit)'),'&nbsp;&nbsp;','' );
    ?>
</div>

即可。