Commit 9014e327e5f45607a563b965370318eb1b3c2e93
1 parent
eeb18a90
sitemap controller not like noindex
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
console/controllers/SiteMapController.php
@@ -77,7 +77,7 @@ class SiteMapController extends Controller | @@ -77,7 +77,7 @@ class SiteMapController extends Controller | ||
77 | 77 | ||
78 | public function getBlocked() { | 78 | public function getBlocked() { |
79 | 79 | ||
80 | - Seo::find()->all(); | 80 | + return Seo::find()->where(['like', 'meta', 'noindex'])->all(); |
81 | 81 | ||
82 | } | 82 | } |
83 | 83 |