I created a router and added to the controller like this
public function _initRouting() {
// Get Front Controller Instance
$front = Zend_Controller_Front::getInstance();
// Get Router
$router = $front -> getRouter();
$routePage = new Zend_Controller_Router_Route('/page/:action/:cat/:parent/:id', array(
'controller' => 'page',
'action' => 'list',
'cat' => 'general',
'parent' => '0',
'module' => 'default'
));
$router -> addRoute('page', $routePage);
}
First this router is not doing anything, whenever I navigation to
/page/list/general/0/1
, it takes the standard route, not the new route.