From aa63bcf9224a0144b0ccc83fc11f841d93f514c2 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 3 May 2022 09:43:46 -0700 Subject: [PATCH] Precaution. Add 'follow' to robots. --- e107_plugins/news/news.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/e107_plugins/news/news.php b/e107_plugins/news/news.php index 3852ac296..f80b6771a 100644 --- a/e107_plugins/news/news.php +++ b/e107_plugins/news/news.php @@ -561,21 +561,21 @@ class news_front { case "all": - e107::meta('robots', 'noindex'); + e107::meta('robots', 'noindex, follow'); e107::route('news/list/items'); e107::canonical($this->route, $news); break; case "tag": e107::title($this->subAction); - e107::meta('robots', 'noindex'); + e107::meta('robots', 'noindex, follow'); e107::route('news/list/tag'); e107::canonical('news/list/tag', array('tag'=> str_replace(' ','-',$this->subAction))); break; case "author": e107::title($this->subAction); - e107::meta('robots', 'noindex'); + e107::meta('robots', 'noindex, follow'); e107::route('news/list/author'); e107::canonical('news/list/author', $news); break; @@ -583,7 +583,7 @@ class news_front case "list": $title = $tp->toHTML($news['category_name'],false,'TITLE_PLAIN'); e107::title($title); - e107::meta('robots', 'noindex'); + e107::meta('robots', 'noindex, follow'); e107::route('news/list/category'); // $category = array('id' => $this->news_item['category_id'], 'name' => $this->news_item['category_sef'] ); @@ -610,7 +610,7 @@ class news_front $this->dayMonth = $title; e107::title($title); - e107::meta('robots', 'noindex'); + e107::meta('robots', 'noindex, follow'); if($type == 'day') {