Learn how to add catch-all routing to your website. Useful for Single Page Applications utilising frameworks such as React or Angular.
If your website is a Single Page Application (SPA), you may want to redirect all URLs to it to correctly handle routing.
To implement catch-all routing, create a new file in the root of your project called
200.html, and include your SPA inside of it. Now deploy your changes.
Now, all page URLs under your domain will load your SPA.