How to create robots.txt

Discussion in 'robots.txt' started by seoworld1234, May 27, 2008.

  1. #1
    This may be a stupid question, but how do I create a robots.txt for my site, www.chinamobilephones.net

    Does it matter whether I put the file at the root or not? And why would this help the search spiders to find my site?
     
    seoworld1234, May 27, 2008 IP
  2. manish.chauhan

    manish.chauhan Well-Known Member

    Messages:
    1,682
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    110
    #2
    You can find some basic info on how to make robots.txt here!!...:)
     
    manish.chauhan, May 30, 2008 IP
  3. Camay123

    Camay123 Well-Known Member

    Messages:
    3,423
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
  4. fazofazo

    fazofazo Peon

    Messages:
    82
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    manish.chauhan;You can find some basic info on how to make robots.txt here!!...:)

    thanks
     
    fazofazo, Jun 8, 2008 IP
  5. Dayton Internet Marketing

    Dayton Internet Marketing Peon

    Messages:
    55
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Just open note pad put in your stuff, save it and name it as "robots.txt" without the quotations of course, upload it to your server and you are done... it is really simple

    example of the code

    User-agent: *
    Disallow: h**p://www.yourdomain.com/contract5.doc
    Disallow: h**p://www.yourdomain.com/contract6.doc
    Disallow: /file/example

    you can show the file path or the url it does not matter...
    robots.txt talks to search engine algorithm's and tells them not to index certain files...
    Also do not forget to add this meta tag to all of the pages that you want to be indexed

    This code gos in the head of your code
    <META NAME="ROBOTS" CONTENT="INDEX, FOLLOW, ARCHIVE">

    <head>
    right here
    </head