Hi, there!
I create web app and i have News page with default url like:
www.domain.com/news/view/year/2011/month/06/title/this-for-news-title
Everything is ok. Until i change my config UrlManager->rules section to:
'urlManager'=>array(
'urlFormat'=>'path',
'showScriptName'=>false,
'rules'=>array(
'news/<year:\d{4}>/<month:\d{2}>/<title:\w+>.html'=>'news/view',
),
)
This config change news url to new url
www.domain.com/news/2011/06/this-for-news-title.html
But when i goto new url news link it’s showing error 404 on my page with message : The system is unable to find the requested action “2011”.
Any solution?
Thanks,