How to make links in sidebar nofollow?

Discussion in 'WordPress' started by trosquin, Jun 22, 2009.

  1. #1
    I have done some link exchanges with sites but i want to make their links into nofollow on my Wordpress sidebar.....how do I do this? Do I need to edit the CSS?
     
    trosquin, Jun 22, 2009 IP
  2. nowares

    nowares Active Member

    Messages:
    115
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #2
    You can do this by :

    1. Log into the admin cp
    2. Click "Edit" in the links block (wp-admin/link-manager.php)
    3. Edit "Link Relationship (XFN)"'s rel: tag to "nofollow" or "external nofollow"
    4. Click "Update Link"
     
    nowares, Jun 22, 2009 IP
  3. trosquin

    trosquin Active Member

    Messages:
    681
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #3
    My edit links portion only has the following areas

    Link Relationship (XFN)
    rel:
    identity
    identity another web address of mine
    friendship
    friendship contact acquaintance friend none
    physical
    physical met
    professional
    professional co-worker colleague
    geographical
    geographical co-resident neighbor none
    family
    family child kin parent sibling spouse none
    romantic
    romantic muse crush date sweetheart

    If the link is to a person, you can specify your relationship with them using the above form. If you would like to learn more about the idea check out XFN.


    There is nothing about no/dofollow? Do I need some sort of plugin?
     
    trosquin, Jun 22, 2009 IP
  4. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,482
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #4
    Then go to rel: option and use nofollow there.

    DON.
     
    deluxdon, Jun 22, 2009 IP
  5. nowares

    nowares Active Member

    Messages:
    115
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #5
    ^Yep... In:
    Link Relationship (XFN)
    rel:

    Enter:
    nofollow
     
    nowares, Jun 23, 2009 IP
  6. snowalker

    snowalker Member

    Messages:
    126
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #6
    I have the same question, I want to add rel nofollow for some (not all) links from sidebar. I cannot find in code where to edit. Some help?
     
    snowalker, Dec 1, 2009 IP
  7. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,482
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #7
    Then you need to add those links seperately under below given code in sidebar.php

    <?php if(is_home() && $post==$posts[0] && !is_paged()) { ?>
    <?php } ?>
    
    Code (markup):
    DON.
     
    deluxdon, Dec 1, 2009 IP