I recently moved my site to another server, and when I run the setup, it doesn't create a robot.txt file. is there any advice on what to do to create one? Can I hack one together myself? What folders, by default, should be protected using robots.txt in zenphoto?
Comments
I have a question concerning my robots.txt file.
First of all I have created a site example.example.com. Also I have example.example.com/example and example.example.com/example1. There is an installation of Zenphoto in each sub-album and a robots.txt file in each that was automatically created with the installation.
I left these robots files in the sub-albums, but I thought THE robots.txt file needs to be located in the root directory (example.example.com). So I created a single file including all the lines for the folders of both sub-albums.
I was wondering if someone could take a look at the actual file to see if it is constructed properly and let me know if I have put it in the correct location?
'http://gallery.original-vintage-ads.com/robots.txt'
Google has not indexed any pages of either sub-album according to the Webmasters Tools, so I thought there may be a problem with my robots file.
Any information would be greatly appreciated.
Thank-you!
A robots.txt file should always and only be in the root of your installation/site. If you have several sites with independend domains one should be in the root of each of those sites. But if all are just in folders one in the root should do it. All info about these files on http://www.robotstxt.org/
Thank-you!