Support » Fixing WordPress » Changing from “nofollow” to “dofollow”

  • I was advised that other webmasters do not like making comments on my blog because it is a “nofollow” blog.

    Is there an easy way to make everything “dofollow”

    I installed the “Follow Me” plugin thinking that was the way to accomplish this. It does not seem to be the answer.?

    My blog is

    Thank you for your assistance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Look for this line in your comments template.

    <a href='' rel='external nofollow' class='url'>

    and change it to –

    <a href='' rel='external follow' class='url'>


    The code did not match what you typed but is this the correct one?

    $return = "<a href='$url' rel='external follow' class='url'>$author</a>";
    	return apply_filters('get_comment_author_link', $return);

    What was written by thelastknight was the output of the code rather than the code itself.

    It looks like you’ve found it but keep in mind that if you edit the core files your edits will be lost when you upgrade.

    you may want to consider plugins for this functionality as well. I use Nofollow Case by Case and Noindex/Nofollow links. They pretty much cover the options I need to allow people to get link credit and still optimize for SEO.

    The Nofollow Case by Case plugin worked for me.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Changing from “nofollow” to “dofollow”’ is closed to new replies.