diff --git a/console/SiteMapController.php b/console/SiteMapController.php index dd29948..d0d0591 100755 --- a/console/SiteMapController.php +++ b/console/SiteMapController.php @@ -213,7 +213,10 @@ foreach ($this->getCategoriesWithFilters() as $category) { foreach ($category->taxGroups as $group) { - if($group->is_filter && (!strpos($group->meta_robots, 'noindex'))){ + if(strpos($group->meta_robots, 'noindex')) { + continue; + } + if($group->is_filter){ foreach ($group->taxOptions as $option) { $url = $urlManager->createAbsoluteUrl( [ -- libgit2 0.21.4