Using Nofollow for Tags ?!

Discussion in 'HTML & Website Design' started by tvsm22, Nov 3, 2008.

  1. #1
    Hellow. I am tuning my wordpress blogs and I am trying to put a rel="nofollow" attribute to the links pointing to /tags/tags

    But, I have a problem. It looks like at a moment I've changed the code and I got duplicate specification of attribute "rel".

    Means, in every link to /tags/tags I have rel="nofollow" and rel="tag" !
    Is it wrong ? Does it need to be changed ?

    Who can give me some advices on how to do that ?
    Thanks.
     
    tvsm22, Nov 3, 2008 IP
  2. websushil

    websushil Active Member

    Messages:
    137
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    The NOFOLLOW tag only applies to links within that page.

    If (hypothetically), on example.com you had all your external links and a link to example.com/foobar

    If the foobar link ONLY appeared on that page with the nofollow tag on it, it wouldn't be indexed. If it appeared on any other page on the site (without the nofollow tag in that page), it would be indexed.

    Hope this helps!
     
    websushil, Nov 3, 2008 IP
  3. tvsm22

    tvsm22 Member

    Messages:
    82
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #3
    That is not what I wanted to hear actually :)

    The question is: if a link has a two! rel attributes:
    <a rel="nofollow" href="blablabla" rel="tag">asdfsadfsadf</a>

    How will it be threated by search engine robots ? Is this an error ? Or what ?
     
    tvsm22, Nov 3, 2008 IP
  4. offshore web development

    offshore web development Peon

    Messages:
    235
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I think 2 relation attribute for a single link won't be a possible, but imo, it won't generate an error.
    But you need to make it only rel="nofollow" or rel="external nofollow"
     
  5. tvsm22

    tvsm22 Member

    Messages:
    82
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #5
    I'm pretty sure i do need to do that )
    But I really don't know how.

    Maybe there is someone who can help me handle this wordpress problem ?
     
    tvsm22, Nov 3, 2008 IP
  6. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #6
    You'll need to change the code so that both values are space separated in the same rel attribute.
    <link rel="tag nofollow" href="#">
    Code (markup):
    Simply hard code it that way.

    cheers,

    gary
     
    kk5st, Nov 3, 2008 IP
  7. juz4dafunofit

    juz4dafunofit Peon

    Messages:
    31
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I thought, Wordpress has the nofollow tag by default unless you switch it off in the cms. There is a few plugins out there that take care of it. Check it out - codex.wordpress.org/Nofollow
     
    juz4dafunofit, Nov 3, 2008 IP
  8. tvsm22

    tvsm22 Member

    Messages:
    82
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #8
    thanks, just edited the category template
     
    tvsm22, Nov 5, 2008 IP