Answer the question
In order to leave comments, you need to log in
How to correctly form a urlManager rule in yii2?
Good day.
There is an ItemController action view that has a parameter (slug variable)
To get data from the database, a site/item/view?slug=alias request is made How to make a site/about
type rule that will execute the site/item/view?slug=about request ?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question