I have an issue with URL routing and am not sure if Yii is capable of achieving what I want. We have users coming in on old (and malformed) urls such as:
/this-is-a-page&pgst=100 /this-is-a-page&ref=547 /this-is-a-page&ref=443
I currently have a rule in the urlManager config as such:
'this-is-a-page' => 'contentPage/index/src/37'
which works fine for visits to:
but not for
Is it possible to write general rule to capture these cases? I have tried:
'this-is-a-page*' => 'contentPage/index/src/37'
'this-is-a-page<\w+>' => 'contentPage/index/src/37'
But they do not seem to work as I would expect.
Thanks for any help