I have an old project with Yii 1.1 and I did some modifications. how can i set rules for in url manager for multiple urls?
its not working for below both of the actions
“hu/page/id” this redirects correctly but another on didn’t, any idea?
Hello,
What are you trying to achieve exactly ?
urlManager will stop at first matching rule and you have the same rule 4 times : ’ action:[\w\-]+’
Only the first one will work, 3 next will be ignored.
Thank you for the reply.
I checked the given link but I achieved the solution by diverting multiple renders to common action because in the main config there was no way to make multiple routing.