In this example, if there is a clientid in the url it will populate the clientid variable that I can check/get with Yii::$app->request->get(‘clientid’, null);
So let’s say that I want to replace your clientId with clientUsername, and username is John Doe in database, can I somehow force url to be example.com/John-Doe ( while user/view?id=1 or user/view?name=John+Doe is the real route ) ? I do not fully understand this regex pattern
Or maybe there is some other way of doing this better ?