📕 subnode [[@neil/adding a 404 page with htaccess]]
in 📚 node [[adding-a-404-page-with-htaccess]]
Adding a 404 page with .htaccess
I wanted to add a 404 page to my garden, especially as I'm currently renaming pages. Might end up with some broken links.
Easy enough - I created a 404.org in org-mode. It gets published as 404.html.
And in .htaccess, just needed to add:
ErrorDocument 404 /404.html
📖 stoas
- public document at doc.anagora.org/adding-a-404-page-with-htaccess
- video call at meet.jit.si/adding-a-404-page-with-htaccess