Commit 6e26b1a91d057c3f83993052f9bc4f4684081867
1 parent
664d2171
site map
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
console/SiteMapController.php
| ... | ... | @@ -213,7 +213,7 @@ |
| 213 | 213 | |
| 214 | 214 | foreach ($this->getCategoriesWithFilters() as $category) { |
| 215 | 215 | foreach ($category->taxGroups as $group) { |
| 216 | - if($group->is_filter && ($group->meta_robots != 'noindex,nofollow')){ | |
| 216 | + if($group->is_filter && (!strpos($group->meta_robots, 'noindex'))){ | |
| 217 | 217 | foreach ($group->taxOptions as $option) { |
| 218 | 218 | $url = $urlManager->createAbsoluteUrl( |
| 219 | 219 | [ |
| ... | ... | @@ -226,6 +226,8 @@ |
| 226 | 226 | } |
| 227 | 227 | } |
| 228 | 228 | |
| 229 | + | |
| 230 | + | |
| 229 | 231 | |
| 230 | 232 | } |
| 231 | 233 | } | ... | ... |