Skip to content

Kirby 4.5.0

Empty

Null, false, or an empty string will automatically be converted to 404 error page

/site/config/config.php
return [
  'routes' => [
    [
      'pattern' => 'custom/response',
      'action'  => function () {
        return false;
      }
    ]
  ]
];