infogami wiki

share your infogami tips and tricks

adding a robots.txt file to your site

It's as easy as could be:

  1. Go to http://sitename.infogami.com/_edit/robots.txt
  2. Type in the contents you want
  3. Save

The “& View” will mean that your browser will try to download the new robots.txt file.

It seems infogami assumes the “.txt” extension means the file shouldn't be considered HTML & given the normal template et. al. treatment.

Here's a sample robots.txt that tells robots to stay out of directories that begin with an underscore:

User-agent: *
Disallow: /_