title: Is there a way to write a URL rule in Yii to redirect all requests to non-existing controllers to an existing one?
body: <p>I need to be able to access user profiles via www.website.com/username. I have no idea how to write a rule for the rule manager to work this way. I would have a UserProfile controller to which i would like the first parameter of the url to be redirected to. Is there a way to say to the router that if he doesn't find a controller by the requested name, to execute the UserProfile controller with the rest of the parameters?</p>
  
  <p>here's my current settings:</p>
  
  <pre><code>'urlManager'=&gt;array(
          'urlFormat'=&gt;'path',
          'showScriptName'=&gt;false,
          'rules'=&gt;array(
              'login' =&gt; 'site/login',
              'signup/confirm/&lt;code&gt;' =&gt; 'signup/confrim'
          ),
      ),
  </code></pre>