php - Configuring Cakephp routes -


i have built simple app. want configure routes this.

 domain_name.com/@username    router::connect('/@*', array('controller' => 'users', 'action' => 'profile'));  

but not work. gives error page cannot found. there anyway can domain.com/@username work.

i appreciate help.

thanks.

mark story has posted excellent article on how achieve using custom routing classes in cakephp 1.3. don't need use @ symbol achieve if follow guide. hope helps.

using custom route classes in cakephp


Comments