First time setting up robots.txt

Discussion in 'robots.txt' started by Jinx3000, Jan 14, 2008.

  1. #1
    Hi Guys and Girls!


    I've been making websites for a little over ten years -- and I currently enjoy it more than I ever have. I've always wanted to learn, but for some reason have never implemented a robots.txt file on ANY of my domain names...

    Now that one of my sites is pulling in more and more traffic, I want to make sure I'm not missing out on something vital here, hence this post.

    I've just made my first attempt -- located here: the-lingerie-post.com/robots.txt

    Is this a good start? What would you guys change?


    Second, my forums would also benefit from a good robots file -- but it's on a subdomain. Does that mean it should have its own robots.txt file? What pages would you exclude? (I'm thinking member profiles, memberlist, search, faq, ...). Any practical hints? The forums are located at forum.the-lingerie-post.com.


    Thanks in advance!
     
    Jinx3000, Jan 14, 2008 IP
  2. SwapsRulez

    SwapsRulez Peon

    Messages:
    32
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    First of all your first robots.txt is completely OK.
    Second you can always set the robots.txt for the subdomain
    & third one your forum link is wrong as its not opening ;-)
     
    SwapsRulez, Jan 14, 2008 IP
  3. Jinx3000

    Jinx3000 Well-Known Member

    Messages:
    814
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    140
    #3
    1. Thanks!
    2. so i make a robots.txt file at forum.the-lingerie-post.com/robots.txt ? google will automaticallty find this?

    3. sorry -- fixed! ;) forum.the-lingerie-post.com it is! :)
     
    Jinx3000, Jan 14, 2008 IP
  4. SwapsRulez

    SwapsRulez Peon

    Messages:
    32
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes... every subdomain is also searched for the robots.txt, therefore you can include the robots.txt in every subdomain you have ;)
    & Yes, you'll have to make this file
    forum.the-lingerie-post.com/robots.txt
    Code (markup):
    Peace!
     
    SwapsRulez, Jan 14, 2008 IP
  5. Jinx3000

    Jinx3000 Well-Known Member

    Messages:
    814
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    140
    #5
    thanks, going at it right away!
     
    Jinx3000, Jan 14, 2008 IP
  6. Jinx3000

    Jinx3000 Well-Known Member

    Messages:
    814
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    140
    #6
    This good for my forums robots.txt file?

    forum.the-lingerie-post.com/robots.txt


    Thanks for your help, SwapsRulez!
     
    Jinx3000, Jan 14, 2008 IP
  7. SwapsRulez

    SwapsRulez Peon

    Messages:
    32
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    No problem mate... its my job to help peoples... ;)
     
    SwapsRulez, Jan 14, 2008 IP
  8. catanich

    catanich Peon

    Messages:
    1,921
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You only need one robots.txt file for http://www.the-lingerie-post.com/ and what you have in the robots is correct:

    User-agent: *
    Disallow: /wp-
    Disallow: /feed/
    Disallow: /trackback/
    Disallow: /rss/
    Disallow: /comments/feed/
    Disallow: /comments/
    Disallow: /cgi-bin/​

    If this is what you need if you DON'T want the SEs to index.
     
    catanich, Feb 2, 2008 IP