Noob no-follow question.

Discussion in 'HTML & Website Design' started by husla3x, Jun 7, 2009.

  1. #1
    I have a Pr6 website with a list of product URL's, is there any html code like <nofollow> </nofollow> to use in the page <body> to stop from following all the product links? I should know this but never had it come up before. Thanks guys if...?
     
    husla3x, Jun 7, 2009 IP
  2. HorseGalleria

    HorseGalleria Peon

    Messages:
    91
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    In the <body> portion you can add this to each link:

    rel="nofollow"

    If you want to block all links, you can do it in the <head> section. If you want to not follow the link, use this:

    <META NAME="ROBOTS" CONTENT="INDEX, NOFOLLOW">

    If you don't want to index the link, use this:

    <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
     
    HorseGalleria, Jun 7, 2009 IP
  3. husla3x

    husla3x Well-Known Member

    Messages:
    640
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #3
    Thanks, but there are like 200 prooduct links and I just wanted to like batch no follow those but allow follow of the 3 or 4 in the nav bar. I guess I could add the rel="nofollow" to each and every one with WORD find and replace. Is there a way to do a batch no follow for only a section of an html page? That would be so much better and easier for me.
     
    husla3x, Jun 8, 2009 IP
  4. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #4
    You can use PSPad to do a search and replace on "selected text" - just select everything except your nav bar, and let search and replace go nuts...
    http://www.pspad.com

    It's free and it's good :)
     
    Kerosene, Jun 8, 2009 IP
  5. HorseGalleria

    HorseGalleria Peon

    Messages:
    91
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I was thinking of using javascript, but the search engines only look at the static text. So you will need to hardcode the nofollow. If you're running PHP, you could buffer the output and do a search/replace before echoing the buffer.
     
    HorseGalleria, Jun 8, 2009 IP
  6. husla3x

    husla3x Well-Known Member

    Messages:
    640
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #6
    Where would the "rel="nofollow" go in this? I see two places it could go but I am not sure.

    <a href="http://www.XXXXXXXXXX.com/downloads/self_improvement/URL_Generic.html?XXXX" class="downloadslinks">Random Affiliate Link</a><br />

    If I can get the no follow it will help me because then the 6 other links on the page will benefit from the PR6 page. I really should know this <Blink>SHAME!!!</blink>
     
    husla3x, Jun 8, 2009 IP
  7. ing

    ing Well-Known Member

    Messages:
    500
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    195
    #7
    You can put the nofollow at the end of your link code, like this...

    <a href="http://www.XXXXXXXXXX.com/downloads/self_improvement/URL_Generic.html?XXXX" class="downloadslinks" rel="nofollow">Random Affiliate Link</a><br />

    :)
     
    ing, Jun 9, 2009 IP
  8. optimeramera

    optimeramera Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You could insert the above code on the page you don't want to be indexed or followed. If you insert this meta-tag on the "list-page" that page won't be indexed either.

    I recommend the rel="nofollow" on each link instead.
     
    optimeramera, Jun 9, 2009 IP