picocms/Pico

404 error

Opened this issue · 0 comments

From issue 708

No, 404.md files are considered hidden and should therefore follow the is404Content path. Please check again (because the code looks right to me) and if Pico truly responds with 200 OK (check that no plugin is changing the status code!) please open a separate issue. However, as a disclaimer, since Pico's development has stopped, it's unlikely that it will be fixed.

From a fresh Alpha installation with no plugins installed:

  • When I request site/404 and there is a 404.md file in the content folder, I receive a 200 OK status.
  • Requesting site/404b correctly returns a 404 Error status.
  • However, if I delete the 404.md file and request site/404, the built-in 404 error message is displayed, and the response correctly has a 404 Error status.