| 914-834-2820

Adding a Robots.txt file

At first it isn't clear how to add a robots.txt or favicon.ico file to your Google App Engine project.

I found the following works nicely.

Create a sub-directory static and add the robots.txt and favicon.ico files there.

Then add the following to your yaml file.

- url: /favicon.ico
  static_files: static/favicon.ico
  upload: static/favicon.ico

- url: /robots.txt
  static_files: static/robots.txt
  upload: static/robots.txt

You can verify after updating your application with a query on the robots.txt file.