Commit 4d77d2021163e2bf1d177f3d489ed28bcf71ec4a

Authored by alex
1 parent d25ce096

немного подправил редирект

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
frontend/config/main.php
... ... @@ -22,7 +22,7 @@ use yii\helpers\Url;
22 22 Yii::$app->response->redirect($url, 301);
23 23 } # редирект с www.siteName.com//////////////////////// на www.siteName.com
24 24 elseif (substr($pathInfo, 0, 1) == "/" && substr($pathInfo, 1, 1) == "/") {
25   - Yii::$app->response->redirect('/site/index', 301);
  25 + Yii::$app->response->redirect('/', 301);
26 26 }
27 27 },
28 28 'id' => 'app-frontend',
... ...