Commit db3f87161ddbe89132778d8be9a1eec3514710a4
1 parent
c9e2db38
add variantSku
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
console/SiteMapController.php
| ... | ... | @@ -43,7 +43,7 @@ |
| 43 | 43 | public function getSeoLinks() |
| 44 | 44 | { |
| 45 | 45 | return Seo::find() |
| 46 | - ->where([ 'meta' => '' ]) | |
| 46 | + ->where(['!=', 'meta', 'noindex,nofollow' ]) | |
| 47 | 47 | ->all(); |
| 48 | 48 | |
| 49 | 49 | } |
| ... | ... | @@ -68,7 +68,7 @@ |
| 68 | 68 | ->with('lang') |
| 69 | 69 | ->joinWith('taxGroups.lang') |
| 70 | 70 | ->with('taxGroups.taxOptions.lang') |
| 71 | - ->where([ 'tax_group.meta_robots' => '', ]) | |
| 71 | + ->where(['!=', 'tax_group.meta_robots', 'noindex,nofollow' ]) | |
| 72 | 72 | ->all(); |
| 73 | 73 | } |
| 74 | 74 | ... | ... |