From eae37ce22e257b6a9b32267230b967fb3b1c3543 Mon Sep 17 00:00:00 2001 From: timur Date: Tue, 20 Feb 2018 10:29:54 +0200 Subject: [PATCH] редирект на чпу ссылки --- frontend/config/main.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/frontend/config/main.php b/frontend/config/main.php index 70df747..b5bd62e 100644 --- a/frontend/config/main.php +++ b/frontend/config/main.php @@ -54,6 +54,7 @@ 'urlManager' => [ 'class' => SeoUrlManager::className(), 'enablePrettyUrl' => true, + 'forceRedirect' => true, 'showScriptName' => false, // 'dontShowDefaulPrefix' => true, 'rules' => [ -- libgit2 0.21.4