Commit b00eb632400a22135c979d825955243244e8dfc8
1 parent
c0845648
site map
Showing
1 changed file
with
2 additions
and
4 deletions
Show diff stats
console/SiteMapController.php
... | ... | @@ -210,12 +210,10 @@ |
210 | 210 | $this->createRow($url, 0.7); |
211 | 211 | |
212 | 212 | } |
213 | - | |
213 | + | |
214 | 214 | foreach ($this->getCategoriesWithFilters() as $category) { |
215 | 215 | foreach ($category->taxGroups as $group) { |
216 | - print_r($group->meta_robots); | |
217 | - if(strpos($group->meta_robots, 'noindex')) { | |
218 | - print_r('live'); | |
216 | + if($group->meta_robots == 'noindex,nofollow') { | |
219 | 217 | continue; |
220 | 218 | } |
221 | 219 | if($group->is_filter){ | ... | ... |