CakePHP routing in pages controller
I am creating a site with CakePHP, and I need to set some URLs for static pages, which are handled by the pages controller. Basically I want to have two different types of static pages, with the URLS mysyte.com/page which should map to app/views/pages/page.ctp and mysite.com/special/page which should map to app/views/pages/special-page.ctp . Note that in the first case page can be 'special' as well. I am a bit lost with the routing I have to set up for this situation. I have tried to use the two routes Router::connect( '/special/:mypage', array('controller' => 'pages', 'action' => 'display'),