rel="nofollow" for sidebar links Wordpress

Discussion in 'Search Engine Optimization' started by snowalker, Dec 1, 2009.

  1. #1
    Hello everyone,

    I want to reduce my internal links from my wordpress blog sidebar and I don't know how to add rel nofollow to a part (or to all) of sidebar links.


    All these links are generated by some plugins I have installed ( top views post, top commented posts, etc). How can I get rid of rel dofollow attribute for these links and make them nofollow?

    I've got a penalty (I guess based on the fact that a fall from the first 100 results) from Google because the inner links on my blog pages are much more than 100 (I have around 1000!). I think that making a part of these links nofollow will determine Google to ignore it, decreasing the internal links number, too and giving me back my previous positioning in serps.

    Thanks a lot!
     
    snowalker, Dec 1, 2009 IP
  2. Traffic-Bug

    Traffic-Bug Active Member

    Messages:
    1,866
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    80
    #2
    The sidebar links are coming from a php file called sidebar.php, look for a link loop or something that generates links and add the rel="nofollow" attribute to the code that generates the anchor tags.
     
    Traffic-Bug, Dec 1, 2009 IP
  3. snowalker

    snowalker Member

    Messages:
    126
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    Traffic Bug, thanks for your reply but I've been trying that. The sidebar.php has unfortunately, one single line:
    <? dynamic_sidebar('Right Sidebar')?>

    Hard to know where I have to add rel nofollow.
     
    snowalker, Dec 2, 2009 IP