couldn’t find my solution. hope you can help.
I want to have a url (like twitter) http://www.domain.com/USERNAME
what happen it goes to the error controller. i want it to go to a different controller in these cases. Some kind of default controller if none found.
Appreciated a small example or any info.
Thanks,
You should create a custom route for that:
But make sure, that you add this route first, so that following routes can match. For information about custom rotues, see the documentation of the router:
http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.routes