From 9fae793be7e53f64d0f7cddd492720407a809adc Mon Sep 17 00:00:00 2001 From: Dima Fedorchuk Date: Wed, 29 Jun 2016 15:33:02 +0300 Subject: [PATCH] All seo --- frontend/widgets/Seo.php | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/frontend/widgets/Seo.php b/frontend/widgets/Seo.php index 47699f6..81a86da 100755 --- a/frontend/widgets/Seo.php +++ b/frontend/widgets/Seo.php @@ -184,6 +184,13 @@ class Seo extends Widget 'content' => $meta ]); + } else if(!empty($filter['special'])){ + + $this->getView()->registerMetaTag([ + 'name' => 'robots', + 'content' => 'noindex,follow' + ]); + } else if ( isset($filter['brands']) && count($filter['brands']) > 1 || isset($filter['options']["pol"]) && count($filter['options']["pol"]) > 1 -- libgit2 0.21.4