Answer the question
In order to leave comments, you need to log in
How to configure urlManager in Yii 1.xx to add UTM tags to url?
How to write rules in urlManager so
that you can add any Get variables at the end of the request?
For example, for Captcha, the system says that you can make a request
www.site.com/subscribers/default/captcha/v
and such
www.site.com/subscribers/default/captcha/v/?refres...
I want to do the same
www. site.com/page/123
and
www.site.com/page/123/?zzz=1231&xxxx=23
now there is such a rule '<controller:page>/<id:\d+>/' => 'page/id/',
how to add or change it?
Thank you
Answer the question
In order to leave comments, you need to log in
And what exactly is the problem? You open the link /page/123/?zzz=234&xxx=543 and see what you have in $_GET.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question