How to prevent direct viewing of the robots.txt file?

Discussion in 'Search Engine Optimization' started by TransPersonal, Sep 6, 2009.

  1. #1
    Typing any www.domainname.com/robots.txt shows the contents of this file. How can I prevent people from viewing this while still allowing search engines access? I know htaccess and htpasswd files can't be viewed in plain site like this.
     
    TransPersonal, Sep 6, 2009 IP
  2. martha5541

    martha5541 Peon

    Messages:
    50
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Search in Google Webmaster tools for an answer to this.
     
    martha5541, Sep 6, 2009 IP