Hello,
I have a problem with the url manager.
I like to have URLs like:
www.mypage.com/New York/Gas Station XYZ/123134
I tried this:
‘<action:\w+>/<action2:\w+>/<id:\d+>’ => ‘gascontroller/item/region/<action>/station/<action2>/’
This works fine with this url:
www.mypage.com/NewYork/GasStationXYZ/123134
but not with one of these
www.mypage.com/New York/Gas Station XYZ/123134
www.mypage.com/New+York/Gas+Station+XYZ/123134
www.mypage.com/New-York/Gas-Station-XYZ/123134
Can anyone help me? Thanks…