robots.txt and favicon.ico

[edit|delete]

Place the two files in the static folder in one of the installed apps. for example in

appications/examples/static/

Edit or create your routes.py file in the main web2py folder

routes_in=(
  ('.*:/favicon.ico','/examples/static/favicon.ico'),
  ('.*:/robots.txt','/examples/static/robots.txt'),
)
routes_out = ()


Post a comment