Answer the question
In order to leave comments, you need to log in
How to remove %2F character instead of / in url formation in Yii2?
Url::to(['/'.$this->context->module->id.'/'.$this->context->id.'/category/', 'alias'=>$category->full_url])
Answer the question
In order to leave comments, you need to log in
When writing a routing rule, add encodeParams = false. Details here www.yiiframework.com/doc-2.0/yii-web-urlrule.html#...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question