From 6e26b1a91d057c3f83993052f9bc4f4684081867 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Tue, 13 Dec 2016 18:01:46 +0200 Subject: [PATCH] site map --- console/SiteMapController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/console/SiteMapController.php b/console/SiteMapController.php index dc14fda..dd29948 100755 --- a/console/SiteMapController.php +++ b/console/SiteMapController.php @@ -213,7 +213,7 @@ foreach ($this->getCategoriesWithFilters() as $category) { foreach ($category->taxGroups as $group) { - if($group->is_filter && ($group->meta_robots != 'noindex,nofollow')){ + if($group->is_filter && (!strpos($group->meta_robots, 'noindex'))){ foreach ($group->taxOptions as $option) { $url = $urlManager->createAbsoluteUrl( [ @@ -226,6 +226,8 @@ } } + + } } -- libgit2 0.21.4