I have a site, all its pages are secure. I have created robots.txt and XML sitemap. Where should I place them? In the public directory or secure? Please advise.
My index page is itself a secure page. In that case, do you suggest to put robots and sitemap in the secure directory? Like chodom, even I was thinking that if I place both both robots and sitemap in public directory it will be easy for the crawler to crawl. But I am not sure.
The robots.txt file HAS to go in the root folder of your web (i.e. http://www.example.com/robots.txt). The sitemap.xml can go anywhere on your site since you can specify the complete path inside your robots.txt or when you manually submit it to the engines.