PHP Cloaking and Robots.txt question

Discussion in 'General Marketing' started by KunkVentures, Dec 16, 2007.

  1. #1
    i have a php page that grabs an id from a query string and directs to the appropriate link.

    for example link.php?id=page1

    If i block the link.php from being indexed inside my robots.txt file will this effectively stop those links from passing juice to the affiliate site?

    Thanks.
     
    KunkVentures, Dec 16, 2007 IP
  2. tonybogs

    tonybogs Peon

    Messages:
    462
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    That is probably the best approach as the bots will ignore links.php altogether!

    Although a general header redirect should pass much juice anyway.

    Hope this helps :)
     
    tonybogs, Dec 16, 2007 IP
  3. KunkVentures

    KunkVentures Peon

    Messages:
    744
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks. Im just confused as to wether links.php is the same as links.php?id=2 to robots
     
    KunkVentures, Dec 16, 2007 IP
  4. dddougal

    dddougal Well-Known Member

    Messages:
    676
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    108
    #4
    Dont block the page links.php from being indexed, just put the no follow tag in the link.
     
    dddougal, Dec 17, 2007 IP
  5. KunkVentures

    KunkVentures Peon

    Messages:
    744
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #5
    but the links.php is just a redirect, it has no content on it, why would I want this indexed?

    thanks. :D
     
    KunkVentures, Dec 17, 2007 IP
  6. Jean-Luc

    Jean-Luc Peon

    Messages:
    601
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #6
    This robots.txt will block links.php and links.php?id=2 :
    User-agent: *
    Disallow: /links.php
    
    Code (markup):
    Jean-Luc
     
    Jean-Luc, Dec 17, 2007 IP