We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.
Is there a way to prevent Publii from overwriting the 404.html file?
I modified the 404 page from my theme to include custom text, CSS classes, and a JavaScript back button. Every time I render a preview of my website, it writes over my 404.html and I have to resave it from my code editor. Is there a way to stop Publii from doing this?
Thanks for that. I have a tendency to ignore certain things, for instance the fact that I was editing the Preview render file. Of course, in Input there isn’t a 404.html file. Does .htaccess go in the root of my Input folder?