robots.txt for dynamic url

Discussion in 'robots.txt' started by hasitruparel, Nov 14, 2008.

  1. #1
    Hello,

    I want to block proddetail.asp?prod=01350&review=true URL in robots.txt but still allow Google to read proddetail.asp?prod=01350 page.

    Do you think that is possible?
     
    hasitruparel, Nov 14, 2008 IP
  2. hasitruparel

    hasitruparel Peon

    Messages:
    60
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Any help please!
     
    hasitruparel, Nov 14, 2008 IP
  3. Aldo

    Aldo Peon

    Messages:
    99
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hmm... Try this:
    
    Disallow: /proddetail.asp?*review=true*
    
    Code (markup):
    Should still allow /proddetail.asp?prod=NUM but won't allow the proddetail.asp with any review=true in it allowed :)
     
    Aldo, Nov 14, 2008 IP
  4. pareshprince

    pareshprince Active Member

    Messages:
    156
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    66
    #4
    disallow: /block proddetail.asp?prod=01350&

    this will
    allow proddetail.asp?prod=01350
    disallow proddetail.asp?prod=01350&review=true
    disallow proddetail.asp?prod=01350&review=false
     
    pareshprince, Nov 18, 2008 IP
  5. hasitruparel

    hasitruparel Peon

    Messages:
    60
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    don't you think this will work OK?

    Disallow: /proddetail.asp?*review=true*
     
    hasitruparel, Nov 18, 2008 IP
  6. manish.chauhan

    manish.chauhan Well-Known Member

    Messages:
    1,682
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    110
    #6

    This is not exact solution that you want..by using this you will tell search engines to not index all the pages proddetail.asp that include 'review=true' term..:)
     
    manish.chauhan, Jan 20, 2009 IP