[SOLVED] urlManager regexp ignoring + sign

Hi there,

I have my urlManager set up with the following rule:


This works fine until the category, county or city has a space in it. What I need to do is urlencode those three items, so if they have spaces, the url might look something like:


This however pulls up a 404 error and can’t find the page. The following url works fine:


But I have to have the urlencoded values in the url, so there has to be the + symbol and this seems to break the urlManager as it can’t find the page. Is there a regexp or something I can add in to the urlManager to ignore the plus symbol and treat it like a normal character?




Worketh perfectly :D


I thought that some kind of lengthy regular expression should be needed.

Thank you for your simple solution!