Redirects and rewrites
You can add redirects to your site e.g. if you have changed the structure
of your site but want to keep old links working (as you should). Just add a
_redirects file with your redirects to the root of your public folder. The
file should list one redirect per line: first the URL that should be redirected,
followed by any whitespace, followed by the URL to redirect to. The URL to
redirect to can be an absolute URL leading to another domain.
Optionally, you can specify the HTTP status code used for the redirect after the redirect specification. By default the redirect is a temporary redirect (technically a 302 Found HTTP status code). A common redirect status code you might want to use is 301, which represents a permanent redirect.
/my/old/post.html /posts/old/ 301
Rewrites, i.e. proxying
It is also possible to rewrite or proxy a request to either a page on the site itself (e.g. for SPA applications) or to a URL on a completely different service (e.g. for proxying API requests). This feature is currently in private beta testing.
Contact support in order to enable rewrites on your site.