Redirects and rewrites for a static site
The difference between a redirect and a rewrite, why a single-page app needs one to survive a refresh, and what Voroa handles for your static sites now.
What this covers
A redirect sends the browser to a different address and the address bar changes; a rewrite serves different content while the address stays as it was. Redirects are what you use after moving a page, so old links and search rankings keep working. Rewrites are what a single-page application needs: routing happens in the browser, so a visitor who refreshes on an inner path asks the server for a file that does not exist, and the server has to answer with the application’s main HTML file instead of a not-found page.
Configuring your own redirect and rewrite rules is not available on Voroa today. Static sites deployed on Voroa are already served so that a refresh on an inner path loads the application rather than failing.