WordPress.org

Ready to get started?Download WordPress

Forums

Changing from "nofollow" to "dofollow" (7 posts)

  1. businesswithgreg
    Member
    Posted 5 years ago #

    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 http://www.blog.businesswithgreg.com

    Thank you for your assistance.

  2. thelastknight
    Member
    Posted 5 years ago #

    Look for this line in your comments template.

    <a href='http://www.businesswithgreg.com' rel='external nofollow' class='url'>

    and change it to -

    <a href='http://www.businesswithgreg.com' rel='external follow' class='url'>

  3. businesswithgreg
    Member
    Posted 5 years ago #


  4. businesswithgreg
    Member
    Posted 5 years ago #

    Opps..

    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);
  5. Jonas Grumby
    Member
    Posted 5 years ago #

    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.

  6. goofydg1
    Member
    Posted 5 years ago #

    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.

  7. TomJohnson
    Member
    Posted 5 years ago #

    The Nofollow Case by Case plugin worked for me.

Topic Closed

This topic has been closed to new replies.

About this Topic