I want to use a URL like this:
site.com/car-list/param1/value1/param2/value2
"car" is variable and can be anytihng. i solved the "site.com/car-list" part like this:
$categoryRoute = new Zend_Controller_Router_Route_Regex(
'(\b.+\-list\b)',
array(
'module' => 'default',
'controller' => 'search',
'action' => 'index'
),
array(
1 => 'productType'
)
);
I can get "car-list" when i want "productType" param. But i cant get rest of the url with $this->_getParam() in controller.
how can i do this? thanks.