Here is the structure of the module (serial) controller (category) action (oneserial). made such a rule.
'serial/<id:/w+>'=>'serial/category/oneserial' here I try to write the address of the link
<?= Yii::$app->UrlManager->createUrl(['serial/category/oneserial','id'=>$car->name_serial]) ?> I get this address
http://film.lc/serial/category/oneserial?id=Перевозчик+(сериал) I want to get
serial/Перевозчик+(сериал)
/w+, but\w+... - Roman Grinyovserial/blablabla. So something you have with the rules forurlManager, but I think so ... - Roman Grinyov/w+, but\w+. - Roman Grinyov