Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

How to hide id query in Yii2 Url

$
0
0

I've this Url "backend/codici/view?id=1" and I want to hide the id, because I don't want to show it. It must be only "backend/codici". I try enabling Pretty Url but it doesn't work.This my config/web.php file:

'urlManager' => ['enablePrettyUrl' => true,'showScriptName' => false,'rules' => [],],

What I have to do to solve it? thank you very much!!!!


Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>