How to disable auto routing in cakePHP 4.x

In CakePHP, the routing works with hostname/controller/action which I don’t want to continue with. The route should only work which is added in routes.php.

I need the configuration and setup guide which disables the autoroute and only routes.php will work.

remove this line


Thanks a lot @KevinPfeifer