Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: goodroi
On one hand every source says "place it in the root directory".
On the other hand, my site has a redirect 301 from <my-site>.com to <my-site>.com/shop.
So, should I place robots.txt in <my-site>.com? or <my-site>.com/shop?
(please note that at the moment (with the redirect 301) no one is able to see <my-site>.com or any subdirectory other than <my-site>.com/shop.)
Fortunately, despite the redirect, accessing <my-site>.com/robots.txt directly is not a problem at all (given correct file access premissions, e.g. 644 on Linux) -Google was able to access it as well as my browser.