Commit fc89c3de14288dc4dfcd07aaf986f0bbb7692047

Authored by Alex Savenko
1 parent 04a908d9

get param "language" => robots=noindex,nofollow 1.2

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
frontend/widgets/Seo.php
@@ -248,7 +248,7 @@ class Seo extends Widget @@ -248,7 +248,7 @@ class Seo extends Widget
248 'content' => 'noindex,follow' 248 'content' => 'noindex,follow'
249 ]); 249 ]);
250 } 250 }
251 - else if (isset($language)) { 251 + else if (isset($language) && $language == 'ua') {
252 $this->getView()->registerMetaTag([ 252 $this->getView()->registerMetaTag([
253 'name' => 'robots', 253 'name' => 'robots',
254 'content' => 'noindex,nofollow' 254 'content' => 'noindex,nofollow'