Can't Edit 404 page in Kirby 3

panel
#1

Heyo,

So in Kirby 2, it used to be that you’d have a page in content called error, and you could edit that blueprint and content just like any other page. However, when I try to list out all pages in my site.yml file…

sections:
      allpages:
        headline: All Pages
        type: pages

the error page doesn’t show up. If I filter down to just the error template

sections:
  errorpages:
    headline: All Pages
    type: pages
    template:
      - error

It also doesn’t show up. Now, error/error.txt is in my /content folder, and I do see the text in it resulting when I try to go to a bad URL. But even if I try to force the page in the panel by going to domain.com/panel/pages/error (which should work), it (ironically) comes back with it’s own 404 error.

image

Is this a bug?

0 Likes

#2

The error.yml blueprint has read set to false.

title: Error

options:
  read: false

If you remove that option setting, the page should show up in your list.

1 Like

#3

Oh, wow, that was totally it.

Thanks, @texnixe - that solves it. I can edit the page now.

0 Likes