How to: Wordpress "Leave a Comment" Link Nofollow?

Discussion in 'WordPress' started by patrich, May 26, 2009.

  1. #1
    Hey everyone,

    I have spent the last couple of days trying to figure out how I can make the "leave a comment" or (comments x) links on my custom wordpress theme nofollow?

    I managed to add nofollow to the "read more" links, but was unable to find the file in which wp calls this particular comment link? Any help would be appreciated.

    Thanks!
     
    patrich, May 26, 2009 IP
  2. webdesigners

    webdesigners Banned

    Messages:
    534
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #2
    In wordpress automatically the comment links get nofollows. I think or you can search a plugin if it's not getting nofollow.
     
    webdesigners, May 26, 2009 IP
  3. technista

    technista Guest

    Messages:
    71
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    They do have a plug in that you can install that will do what you are trying to do.
     
    technista, May 26, 2009 IP
  4. patrich

    patrich Peon

    Messages:
    142
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    @webdesigners, I think you misunderstood what I am trying to do. I am not trying to get the links within comments nofollow, those already are. I am trying to get the actual links that say "leave a comment" or something similar on each excerpt on the front page and in the archive pages to be nofollowed.

    They cause a duplicate content problem within wordpress, because you have two different links going to the same page, for instance

    mysite.com/worlds-greatest-blog-article/
    mysite.com/worlds-greatest-blog-article/#comments

    Does that make sense?
     
    patrich, May 26, 2009 IP
  5. Rogi

    Rogi Active Member

    Messages:
    1,103
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    90
    #5
    But why you want to insert the link in the comment when you can insert the link the post itself.
     
    Rogi, May 26, 2009 IP
  6. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I believe that duplicate content is only a problem when you have multiple pages with the same content.
    I don't think it matters if there is more than one link to the content.
    Search the Google forums here, I bet this has been covered many times.
     
    Cash Nebula, May 26, 2009 IP
  7. Dreamerr

    Dreamerr Peon

    Messages:
    914
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yes, it's not a problem as it is now #comments is just an anchor on the page.
     
    Dreamerr, May 27, 2009 IP
  8. Sake7

    Sake7 Well-Known Member

    Messages:
    1,098
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    110
    #8
    You are right. it is not a problem to have links with "extra"-things like #comments, or smt like that. But i would say it is ok to 'nofollow' those links. You have a link in the title of the post, with a good anchor (the title), and another one with anchor 'Leave a comment'. Lets imagine we have only this two links on home page. Entire 'link-juice' goes to the right page, but half with the an incorrect anchor - "Leave a comment" . I don't think you want to optimize a page for this kw (Leave a comment), instead the title of the post.
    If you place a nofollow on "leave a comment" - link, will be better for your seo.
    It is just a simple example. You can "nofollow" many other links which aren't important for SEO (contact page, log in page, ToS, Privacy policy, and so on).
     
    Sake7, May 30, 2009 IP
  9. Lorena

    Lorena Active Member

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #9
    If your still looking for the wordpress plugin for following you can try this: www. kimmo.suominen.com/sw/dofollow/
     
    Lorena, May 31, 2009 IP
  10. Sake7

    Sake7 Well-Known Member

    Messages:
    1,098
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    110
    #10
    You are totally off-topic. Read again first post...
     
    Sake7, May 31, 2009 IP