Answer the question
In order to leave comments, you need to log in
How to write in UrlManager rules?
I have such a link, here instead of city1=11 and city2=1 the name of the cities should come out, not the id of the city. I want to configure via urlmanager rules, but I don't know how, can you help?
'urlManager' => [
'enablePrettyUrl' => true,
'showScriptName' => false,
'rules' => [
'o_nas'=>'site/about',
],
],
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question