Hi,
I have, I believe, a simple problem, but I don't know how to solve it... So, I have the standard app with default and admin module. And I need some SEO friendly urls.
In admin module I want to use standard urls like /admin/controller/action but I am killing this when I add the following code in my bootstrap file...
$model_info = new Zend_Controller_Router_Route(
'/:id/:manufacturer/:model_name',
array(
'module' => 'default',
'controller' => 'index',
'action' => 'modelinfo'
)
);
$router->addRoute('model_info',$model_info);
The result of this is that I have nice urls which are working but know I can't access any action, from any controller in admin module...
My question is how to define this route or how to add new one, so I can access my admin module "normally" and have "front end" urls like this?