Customized 500 error page

Hi,

The Kirby HTTP 500 error page has a link to the Kirby docs. Is it possible to remove this link? Just as I don’t give info about the server or PHP version, I’d prefer not to give any info about the system if there is no compelling reason to do so.

Also the error page is in a different language than the site.
How can I either adapt this Kirby error page or create a custom 500 error page?
(Kirby 3.9)

Hello and welcome to the Kirby forum :tada:

You can create your own error page with the following steps:

Deactivate the debug mode in config.php:

return [
    'debug' => false,
];

Create an error-folder with an error.txt inside:

content/error/error.txt

This must contain at least one title.

Now you can design the error page as you wish:
You need a Blueprint

site/blueprints/pages/error.yml

… and a template

site/templates/error.php

… to create the error page with your design and an individual error message.

:arrow_right: If you would like to know more or need support, please write here.

Please check out this config option:

Missed that, thanks for helping out Sonja.