Skip to content

Kirby 4.1.2

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