skip to Main Content

YII2 sef urls construction – PHP

I have catalogue with products. Urls for products looks like this domain.com/adv?id=14792. I want to beautify urls like this domain.com/adv/14792. In web.php I tried to like this 'urlManager' => [ 'enablePrettyUrl' => true, 'showScriptName' => false, 'enableStrictParsing' => true, 'rules'…

VIEW QUESTION
Back To Top
Search