Is this the right code for robots.txt?

Discussion in 'CSS' started by ademmeda, May 8, 2011.

  1. #1
    Hi,

    I have directory on my site for testing purposes and I don't want search engines to index it. I created a robots.txt file using the code below and put it in the root folder of the site:

    User-agent: *
    Disallow: /test/
    Code (markup):
    The name of the directory is test. Is the code correct?
     
    ademmeda, May 8, 2011 IP
  2. Projekt.Gopher

    Projekt.Gopher Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think it's right... However it has absolutely nothing whatsoever to do with Cascading Style Sheets.
     
    Projekt.Gopher, May 9, 2011 IP
  3. Projekt.Gopher

    Projekt.Gopher Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
  4. ademmeda

    ademmeda Active Member

    Messages:
    354
    Likes Received:
    3
    Best Answers:
    3
    Trophy Points:
    70
    #4
    Sorry, posted here by mistake and thanks.
     
    ademmeda, May 10, 2011 IP