How can I block a particular section of my forum?

Discussion in 'robots.txt' started by Abhik, Aug 29, 2007.

  1. #1
    I am using IPB as the script..
    I want to block a particular section to be blocked..
    How can I do it?

    and, how to block a directory? where should I put the robots.txt file in both the cases?
     
    Abhik, Aug 29, 2007 IP
  2. evera

    evera Peon

    Messages:
    283
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    robots.txt should be in the root directory. And blocking parts works like this:
    User-agent: * 
    Disallow: /something/something_else/
    Disallow: /forum/forum34.html/
    Disallow: /forum/url_of_the_forum_you_wanna_block/
    Code (markup):
     
    evera, Sep 10, 2007 IP