M
M
Maybe_V2016-08-21 00:26:03
Yii
Maybe_V, 2016-08-21 00:26:03

How to implement a link?

How can you make a snare like: https://toster.ru/user/maybe-v
Interested in the latter maybe-v- here in my nickname as what?
I can not understand what happens after the transition on such a snare!
Please help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2016-08-21
@prokopov-vi

maybe-v are the values ​​of the get parameter user. In order for it to be displayed like user/maybe-v and not like &user=maybe-v, you need to configure the UrlManager accordingly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question