Commit 9fae793be7e53f64d0f7cddd492720407a809adc

Authored by Dmytry Fedorchuk
1 parent 54330e07

All seo

Showing 1 changed file with 7 additions and 0 deletions   Show diff stats
frontend/widgets/Seo.php
@@ -184,6 +184,13 @@ class Seo extends Widget @@ -184,6 +184,13 @@ class Seo extends Widget
184 'content' => $meta 184 'content' => $meta
185 ]); 185 ]);
186 186
  187 + } else if(!empty($filter['special'])){
  188 +
  189 + $this->getView()->registerMetaTag([
  190 + 'name' => 'robots',
  191 + 'content' => 'noindex,follow'
  192 + ]);
  193 +
187 } else if ( 194 } else if (
188 isset($filter['brands']) && count($filter['brands']) > 1 195 isset($filter['brands']) && count($filter['brands']) > 1
189 || isset($filter['options']["pol"]) && count($filter['options']["pol"]) > 1 196 || isset($filter['options']["pol"]) && count($filter['options']["pol"]) > 1