'urlManager'=>array(
'urlFormat'=>'path',
'rules'=>array(
'<view>' => array('site/page/view/'),
'<controller:\w+>/<id:\d+>'=>'<controller>/view',
'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',
'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
),
),
I currently have this in the main.php file.
The problem is that when I browse /index.php/index, I show the index page in the pages folder, but when I get to /index.php/about, I still get the index.php file on the pages folder.
source
share