Skip to content

Kirby 4.4.1

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;
      }
    ]
  ]
];