Page 1 of 1

Pico CMS: 404 not found error on any content page

PostPosted: Sun Feb 10, 2019 3:05 am
by peter_b
After installing Pico CMS (v2.0) according to its documentation,
I get the default "content-sample" which explains you how to get started by adding markdown files.

I did that (or at least I thought I did), but regardless of how many subfolders and .md pagefiles I've added:
I kept seeing the content-sample page, or a "404 site not found" error when trying to access a subarticle.

You must have an "" file in your main "content" subfolder!

I know this sounds obvious, but in my case, I already created subfolder structures and assumed that Pico would generate an Index for me, if there is no "" file to load.
Like Apache's folder listing.

Well Pico doesn't ;)
But that's fine. I just didn't think that I had to take the docs that literally. :P

So after I've added this puzzle-key: "pico/content/", all other subpages that 404'd before now loaded fine and properly.

Thanks Pico-devs!