I could not find an obvious way to handle general 404 pages in IHP.
Is there a simple way to override the default "Not Found" route on invalid pages in FrontController or Router?
I could not find an obvious way to handle general 404 pages in IHP.
Is there a simple way to override the default "Not Found" route on invalid pages in FrontController or Router?
There's now an easy way to add a custom 404 page by creating a file at static/404.html. Then IHP will render that HTML file instead of displaying the default IHP not found page.
Check the documentation for more details.
(added this just in case someone get's here via google)