How to manage urlManager rules for ProductSearch requests?
In browser I get product/search?ProductSearch[globalSearch]=&ProductSearch[category]=climb
What will be the rule for that?
How to manage urlManager rules for ProductSearch requests?
In browser I get product/search?ProductSearch[globalSearch]=&ProductSearch[category]=climb
What will be the rule for that?
What exactly url you need?
I need to create rules in UrlManager for that search action
product/search?ProductSearch[globalSearch]=&ProductSearch[category]=climb
now I have only that rules:
'urlManager' => [
'rules' => [
'product/vendor/<vendor_alias:\w+>' => 'product/vendor',
'product/<alias:[\w_\/-]+>'=>'product/view',
'product-category/<alias:[\w_\/-]+>'=>'product-category/view',
],
],
and i get page not found error if i try to search for product