In YII If there is an empty space in the header that is used for a URL, then by default spaces are replaced with a "+" sign. Something like that:
www.domain.com/event/view/id/ Dj + Robag + Ruhme
What I want to do, I want to replace the + sign with a - - (a dash) or _ (an underscore). Something like that:
www.domain.com/event/view/id/ Dj-Robag-Ruhme
or
www.domain.com/event/view/id/ Dj_Robag_Ruhme
Now my urlManager:
'urlManager'=>array( 'urlFormat'=>'path', 'showScriptName'=>false, 'caseSensitive'=>false, 'rules'=>array( //'<controller:\w+>/<id:\d+>'=>'<controller>/view', //'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>', //'<controller:\w+>/<action:\w+>'=>'<controller>/<action>', ), ),
source share