Jul 032009

this is about how to dofollow comment on your wordpress blog without plugin, as manually you can dofollow your comment by editing the comment template (comments.php)
fint the script
comment_author_link();
this will display the complete link in your single page/post like
<a id="commentauthor-2306" href="http://antiteori.com" rel="external nofollow">d_anank</a>
now change that script to:
<?php if (get_comment_author_url()) : ?>
<a id="commentauthor-<?php comment_ID() ?>" href="<?php comment_author_url() ?>">
<?php comment_author();?>
</a>
<?php else : ?>
<span id="commentauthor-<?php comment_ID() ?>">
<?php comment_author(); ?>
</span>
<?php endif; ?>
and see re result:
ok its all, let’s try your own exploration.


Hi great post. Doesn’t google penalize a website for making its blog comments “do-follow” ? I use to dofollow but then google slapped me hard. I am still looking for answers about it. As you know google never replies.
Very impressive post.
Its really good idea. Why we bother the plug ins if we have manual method.