Current: Site > Settings > General > Custom code
Add section: Site > Settings > General > Non-page requests
So I could add
- Pairs of request and static content:
- robots.txt (and add static text content)
- some-verification-file-name.txt (and add static text content)
- sitemap.xml (and add static/dynamic content)
- Redirects
- request (and redirect url)
This should cover a wide range or common scenarios.