<?php // config/routes.php use Cake\Routing\Route\DashedRoute; // 認証1 Router::prefix('admin', function (RouteBuilder $routes) { $routes->fallbacks(DashedRoute::class); }); // 認証2 Router::prefix('member', function (RouteBuilder $routes) { $routes->fallbacks(DashedRoute::class); }); // 認証3 Router::prefix('user', function (RouteBuilder $routes) { $routes->fallbacks(DashedRoute::class); }); 上記のようにして、/