Support redirect on fresh load for SPA on static sites
under review
B
Buooy
Currently, if the user goes to /about, it will return a 404 because the web server can't find the "about" subdirectory.
Following what netlify does, we can include a _redirect (or equivalent file) to allow for redirects.
We can start off with supporting the following fields:
- From
- To
- Status code
this will pass fine grained control of the redirect to the user. It is also much simpler and more extensible because the developer does not have to re-architect his application to consider the redirect problem.
Log In
Joseph Cooper
under review