Currently I get the following format of url from one of my actions
Where it needs to be like this without the extra characters in the url
I’m fairly new to yii, but I’m assuming this can and should be done through the url manager in my main.php config file. I have no idea how to get this so that it rewrites this url and removes these extra characters. Any help would be greatly appreciated.
Heres my url manager code right now with rules that apply to all controllers
'urlManager'=>array( 'urlFormat'=>'path', 'showScriptName' => false, 'rules'=>array( '<controller:\w+>/<id:\d+>'=>'<controller>/view', '<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>', '<controller:\w+>/<action:\w+>'=>'<controller>/<action>', ), ),