Comment out a link

Discussion in 'PHP' started by login, Jan 13, 2008.

  1. #1
    When I comment out a link like this, the Google will not index that link right?

    <!--
    <a href="print,<? print $Id;?>.html">Print this lyrics</a>
    -->
     
    login, Jan 13, 2008 IP
  2. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #2
    Given its a scripted bot working off of the DOM, it should ignore it.
     
    shallowink, Jan 13, 2008 IP
  3. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #3
    Sorry, dont know what you mean.
     
    login, Jan 13, 2008 IP
  4. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #4
    He means that's right, Google will not index it.
     
    SmallPotatoes, Jan 13, 2008 IP
  5. legend2

    legend2 Well-Known Member

    Messages:
    1,537
    Likes Received:
    74
    Best Answers:
    0
    Trophy Points:
    115
    #5
    a comment, is well, a comment. so it shouldn't be indexed. and even if it were to be, it would be treated as normal text, and the bot wouldn't follow the link.
    But again, that's just logically speaking.
     
    legend2, Jan 13, 2008 IP