routing in cakephp

svaeqb

New Member
I want to enable this kind of routing in my site where users can create their vanity urlstest.com/[user-url]but also dont want to ruin the routing for my existing controllerstest.com/userstest.com/businesstest.com/adminso I added this to my routes.php\[code\]Router::connect('/*', array('controller' => 'business', 'action' => 'view'));\[/code\]is it possible to use regex for the '/*' so I can have exclude the routes for my controllers?p.s. pretty much like the routing in facebook
 
Back
Top