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 in org-mode. It gets published as 404.html.

And in .htaccess, just needed to add:

ErrorDocument 404 /404.html

1 Elsewhere in the garden

Notes that link to this note (AKA backlinks).

This page last updated: 2021-07-24 Sat 12:02. Map. Recent changes. Source. Peer Production License. Webring: << random >>