Skip to content

Kirby 3.9.8

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