Commit 1964a4cf481d4c1ac3d6d817082c7d4773bad5d7

Authored by Alex Savenko
1 parent adbd4119

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

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