'yii\web\UrlManager', 'hostInfo' => $params['frontendHostInfo'], 'baseUrl' => '', //'suffix' => '/', 'enablePrettyUrl' => true, 'showScriptName' => false, 'cache' => false, 'rules' => [ '' => 'site/index', 'contact' => 'contact/index', 'signup' => 'auth/signup/request', 'signup/<_a:[\w-]+>' => 'auth/signup/<_a>', '<_a:login|logout>' => 'auth/auth/<_a>', //['pattern' => 'yandex-market', 'route' => 'market/index', 'suffix' => '.xml'], //['pattern' => 'sitemap', 'route' => 'sitemap/index', 'suffix' => '.xml'], //['pattern' => 'sitemap--', 'route' => 'sitemap/', 'suffix' => '.xml'], //['pattern' => 'sitemap-', 'route' => 'sitemap/', 'suffix' => '.xml'], //'blog' => 'blog/post/index', //'blog/tag/' => 'blog/post/tag', //'blog/' => 'blog/post/post', //'blog//comment' => 'blog/post/comment', //'blog/' => 'blog/post/category', /*'cabinet' => 'cabinet/default/index', 'cabinet/<_c:[\w\-]+>' => 'cabinet/<_c>/index', 'cabinet/<_c:[\w\-]+>/' => 'cabinet/<_c>/view', 'cabinet/<_c:[\w\-]+>/<_a:[\w-]+>' => 'cabinet/<_c>/<_a>', 'cabinet/<_c:[\w\-]+>//<_a:[\w\-]+>' => 'cabinet/<_c>/<_a>',*/ //'post/<_c:[\w\-]+>' => 'post/', /* ['class' => 'frontend\urls\PostMainUrlRule'], ['class' => 'frontend\urls\PostUrlRule'], ['class' => 'frontend\urls\PostCategoryUrlRule'], ['class' => 'frontend\urls\PageUrlRule'],*/ /* Moved to end bootstrap - SetUp.php '<_c:[\w\-]+>' => '<_c>/index', '<_c:[\w\-]+>/' => '<_c>/view', '<_c:[\w\-]+>/<_a:[\w-]+>' => '<_c>/<_a>', '<_c:[\w\-]+>//<_a:[\w\-]+>' => '<_c>/<_a>',*/ ], ];