Sign in

Is there a way to prevent Publii from overwriting the 404.html file?

#1592
Avatar photo[anonymous]

A possible solution could be:

  • customize your 404 file (provided by Publii) and rename it like:   404-page.html  or something like this.
  • declare your default error page via htaccess:

ErrorDocument 404 /404-page.html

it should work