Set up a 404 error page to be displayed when you try to navigate to a non-existent path on the site.
1. Create a 404 page.
Create it just like a normal page. Modals cannot be set to a 404 page.
2. Change the path of the 404 pages to "404" or change the page type by the tab.