nextcloud / cms_pico

🗃 Integrate Pico CMS and let your users manage their own websites
https://apps.nextcloud.com/apps/cms_pico
GNU Affero General Public License v3.0
134 stars 42 forks source link

The wrong 404 page is displayed #224

Closed seabokas closed 1 year ago

seabokas commented 1 year ago

Hi,

by the way, fantastic plugin.

Despite the 404.md in the content directory, the NextCloud 404 page is displayed when a url is called that does not exist.

https://sub.myurl.com/sites/newsite/ Works fine.

https://sun.myurl.com/sites/nonexistingsite/ Shows the standard NC 404 page.

NC 25.0.1 Pico CMS 1.0.21 PHP 8.1.12

PhrozenByte commented 1 year ago

This is expected behaviour, because since you didn't request a site (each site is a separate Pico instance), Pico can't know which 404.md to display.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two days if no further activity occurs. Thank you for your contributions! :+1: