Yii cut of default controller and index from request

giggs11

New Member
with these URL rules:\[code\]'index' => 'site/index','<c:[\w\-]+>' => '<c>/index',\[/code\]and upon making a request like this:
  • example.com/index
  • example.com/site
  • example.com/site/index
I get to homepage. All is well, however I would like to get rid of them and with each of those requests get to example.com.I have already extended \[code\]CUrlManager\[/code\] to make controller/action with "-" possible, but this thing still eludes me. Any ideas?
 
Top