[solved] rules for urlManager

Hej All.

could someone plz explain to me the rules of the urlManager.

i’m trying to use it. but i got many static pages. ant i dont know how to use the rules, so that the sites are displayed correct.

Did you read this? Basically you can map every url you want to a certain controller/action.

'components' => array(

   'urlManager' => array(

      'urlFormat' => 'path',

      'rules' => array(

         'some-static-page' => 'controller/action',