I'm working with Zend Framework 1.9 and facing some problems with the routes. Actually, looking for a way to route url to custom one (url), but unfortunately couldn't find a solution after surfing on internet as well as on Stack Overflow.
Well, the problem is that the defined url is working fine: http://example.com/user/detail/code/hsg45464
but, I want to change the above url to custom url, something like this: http://example.com/[user_name]/[course]/[cource_description]
So, is there any possibility to achieve this custom url in Zend Framework 1.9 (.htaccess or bootstrap).
Cheers!
I would prefer to do it in
Bootstrap.phpinstead of changing anything inconfig,index.phpor.htaccessAfter that you need to create a controller and a view to render it.
Also, you can go through the routing documentation of
Zend Framework 1.9in detail, so here is the link: Zend Framework 1.9 Routing