urlManager rules for Search Model

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


now I have only that rules:

		'urlManager' => [

			'rules' => [

				'product/vendor/<vendor_alias:\w+>' => 'product/vendor',





and i get page not found error if i try to search for product