Pico CMS: 404 not found error on any content page

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....

Pico CMS: 404 not found error on any content page

Postby peter_b » Sun Feb 10, 2019 3:05 am

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 "index.md" 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 "index.md" 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/index.md", all other subpages that 404'd before now loaded fine and properly.

Thanks Pico-devs!
  • 0

User avatar
Posts: 315
Joined: Tue Nov 12, 2013 2:05 am
Reputation: 3

Return to Knowledge Base

Who is online

Users browsing this forum: Bing [Bot] and 7 guests

Who is online over last 24 hours

Users browsed this forum in the last 24 hours: Bing [Bot], Majestic-12 [Bot] and 23 guests

Reputation System ©'