pay attention to that ANYTHING_ELSE So, I have my controllers and actions that I want to behave as normal in response to examples like this:
// for UserContoller
If I've realized you correctly, you may use something like this:
'rules' => array(
//You should define all the controllers exactly:
'/' => '/',
//Or more complicated rule:
'/(turismo|visita|travel)/' => array('visit/page', 'urlSuffix' => '.html'),
//After that you can process all remaining urls as you want:
'' => array('blog/view', 'urlSuffix' => '.html'),
),
And the controller:
class BlogController extends Controller
{
public function actionView($alias)
{
echo $alias;
}
}