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