diff --git a/console/SiteMapController.php b/console/SiteMapController.php index bb6dfda..8295797 100755 --- a/console/SiteMapController.php +++ b/console/SiteMapController.php @@ -210,12 +210,10 @@ $this->createRow($url, 0.7); } - + foreach ($this->getCategoriesWithFilters() as $category) { foreach ($category->taxGroups as $group) { - print_r($group->meta_robots); - if(strpos($group->meta_robots, 'noindex')) { - print_r('live'); + if($group->meta_robots == 'noindex,nofollow') { continue; } if($group->is_filter){ -- libgit2 0.21.4