I wanna create robot.txt

Discussion in 'robots.txt' started by monika007, Jun 13, 2008.

  1. #1
    I wanna create robot.txt. but how?
     
    monika007, Jun 13, 2008 IP
  2. mutley

    mutley Peon

    Messages:
    356
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    mutley, Jun 13, 2008 IP
  3. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #3
    www.robotstxt.org has the information you need

    Basically though you just type the following into a text editor and save it as robots.txt prior to uploading to the root directory of your site:

    
    User-agent: *
    
    Disallow: /cgi-bin
    sitemap: http://www.yourdomain.com/sitemap.xml
    
    Code (markup):
    replace yourdomain with (your domain) and make sure you have a sitemap.xml file. As for other pages and directories you want to block, just add them as needed, like Disallow: /images/
     
    Dan Schulz, Jun 13, 2008 IP