Answer the question
In order to leave comments, you need to log in
Why doesn't url rules fully process the rule?
Greetings. I'm learning yii2
Tell me, I made a simple url rule:
'about' => 'site/about'
When accessing the url test.com/about, everything works, why does the url test.com/site/about also work?
In theory, the rule should be a ban on the use of controller / action, tk. there are no other rules. Should I get a 404 error, or what am I doing wrong?
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