Need some help with rel="nofollow"

Discussion in 'WordPress' started by ringwraith, Nov 1, 2007.

  1. #1
    Hello, i need some help on trying to do two things on Wordpress:
    1. add nofollow tag to Archives in the sidebar
    2. add nofollow tag to Categories in the sidebar

    Can anyone tell me how i can do that? I've tried to hard code it but i can't really find the script i need to modify in order to achieve what i want.

    10x. Help will be greatly appreciated
     
    ringwraith, Nov 1, 2007 IP
  2. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #2
    Why dont you add All-in-one SEO plugin.. There is an option for it..

    More helpful SEO wordpress plugins here.
     
    MeetHere, Nov 1, 2007 IP
  3. ringwraith

    ringwraith Peon

    Messages:
    436
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #3
    :) I already use All in One SEO pack but it doesn't do what i want. I want to be able to add rel="nofollow" to my categories and archive links in the sidebar...
     
    ringwraith, Nov 1, 2007 IP
  4. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #4
    Dont you find this ?
    All in One SEO.png
    Instead of "nofollowing" which is not necessary here,
    You should use "no index" to avoid duplicate content.. ;)
     
    MeetHere, Nov 1, 2007 IP
  5. ringwraith

    ringwraith Peon

    Messages:
    436
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i already use noindex dude :) That's not the point. I want to use nofollow though. It's part of an experiment. I'm trying to see if controlling your link juice flow trough your site with "nofollow" is really worth it or not
     
    ringwraith, Nov 1, 2007 IP
  6. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #6
    If you use "nofollow" then that will not passed any juice for sure..

    IF going is "not following" then why should google pass juice :)
     
    MeetHere, Nov 2, 2007 IP
  7. ringwraith

    ringwraith Peon

    Messages:
    436
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I don't really get you last post.

    Let's have an example. I am on page A. Page A has two links, one pointing to page B, one pointing to page C. Page B is cut from robots, it will not be indexed. So, are you really telling me that the link poiting from page A to page B will not pass any Juice just because page B is excluded from Robots? So, i don't need to use nofollow on this link pointing from A to B?

    This makes sense, but i've read a couple of posts claiming that the juice is still passed to a noindex page...
     
    ringwraith, Nov 6, 2007 IP
  8. ken_

    ken_ Peon

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I think you might need to hack the template files to do that since in the sidebar.php files, it's use :

    function wp_list_cats($cat_article_input);

    Use your editor to open up \wp-includes\category-template.php
    find - function wp_list_categories

    find and change the code :
    
    			if ('list' == $style )  
    				$output .= '<li><a href="' .  get_bloginfo('url')  . '">' . $show_option_all . '</a></li>';
    			else
    				$output .= '<a href="' .  get_bloginfo('url')  . '">' . $show_option_all . '</a>';
    		
    
    Code (markup):
    Now add the nofollow link into the code.
    Just remember it's will not compatible when you upgrade your wordpress.
     
    ken_, Nov 6, 2007 IP
  9. ringwraith

    ringwraith Peon

    Messages:
    436
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Hmmm, i think i allready looked in Wp_List_cats . I'll give it another look right away. 10x :)
     
    ringwraith, Nov 6, 2007 IP