Adding a 404 page with .htaccess
*planted: 24/10/2020last tended: 27/11/2021
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
1. Elsewhere
1.1. In my garden
Notes that link to this note (AKA backlinks).