Url Manager Question

Hi folks.

I set my app to use urls like paths.

On my config file


 

		'components'=>array(

			'urlManager'=>array(

				'urlFormat'=>'path',

				'showScriptName'=>false,

				'rules'=>array(

					'/'=>'site/index',

					'<controller:\w+>/<id:\d+>'=>'<controller>/view',

					'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>/<id>',

					'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',

				),

			),

		),



The problem is that links still appears http://www.othys.com/company/page?view=clients like get

if I try change the url to http://www.othys.com/company/page/view/clients the 404 error shows the message "The requested view "*" was not found."

How can I solve this?

The parameter name and regular expression must match your URL parameters. So try changing <id:\d+> to e.g. <view:\w+> or only <view>.