Hi, I was wondering what if someone access mysite.com/robots.txt and find out the pages which they shouldn't see it or pages which I want to hide. How do I make sure people cannot see my robots.txt or are there any possible way to go around this? I have tried on a few clickbank sites and when i access their robots.txt, it auto. directs me to their index page. how do i do that? thanks
In .htaccess add the code RewriteCond {HTTP_USER_AGENT} ^Mozilla RewriteCond %{HTTP_USER_AGENT}!(Slurp¦surfsafely) RewriteRule ^robots\.txt$ /someotherfile [L] Code (markup): "someotherfile" could be blank, or a it could be a fake robots.txt. source: http://www.webmasterworld.com/forum93/74.htm