在yii2中,如何从我的网址中更改'?id ='
我当前的网址是:http://localhost/webschool/core/course/view?id=course001
我想要这种格式的网址:http://localhost/webschool/core/course/view/course001
Further reading here on Stackoverflow: Enable Clean Urls
Advanced Template Example here Github: frontend/config/main.php