Can I use the Url-manager to hide the get parameter? I use SluggableBehavior Now the search query SluggableBehavior this
http://standart.dev/complex-slug?slug=zk-novyj-kvartal&price=100
Is it possible to make it like this - complex/search?zk-novyj-kvartal&price=100&... ? Or is it better to have such a complex/zk-novyj-kvartal/search?price=100& Ie you need to hide the first parameter ..
Thus, I tried to register in the rules - but does not work - Unable to resolve the request
'urlManager' => [ 'enablePrettyUrl' => true, 'showScriptName' => false, 'rules' => [ ... 'complex/<slug>/search' => 'site/complex-slug?slug=<slug>', .... ], ],