Commit 132aac993128057aaf0a4856348fd7f7ea73d470
1 parent
a4d272b1
canonical update3.0 (www)
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
frontend/config/main.php
frontend/views/layouts/main.php
... | ... | @@ -78,7 +78,7 @@ $this->registerJs(" |
78 | 78 | <title><?= Seo::widget([ 'row'=>'title'])?></title> |
79 | 79 | <?= Seo::widget([ 'row'=>'description'])?> |
80 | 80 | <?= Seo::widget([ 'row'=>'meta'])?> |
81 | -<!-- --><?php //$this->registerLinkTag(['rel' => 'canonical', 'href' => Yii::$app->urlManager->baseUrl.Yii::$app->request->url ]); ?> | |
81 | + <?php $this->registerLinkTag(['rel' => 'canonical', 'href' => Yii::$app->urlManager->baseUrl.Yii::$app->request->url ]); ?> | |
82 | 82 | <link rel="shortcut icon" href="<?= Yii::$app->urlManager->baseUrl ?>/img/favicon.ico" type="image/x-icon"/> |
83 | 83 | <?php $this->head () ?> |
84 | 84 | ... | ... |