diff --git a/include/section_init.inc.php b/include/section_init.inc.php index d311b5043..2f751864e 100644 --- a/include/section_init.inc.php +++ b/include/section_init.inc.php @@ -613,6 +613,14 @@ elseif ('search'==$page['section']) { $page['meta_robots']=array('noindex'=>1, 'nofollow'=>1); } +elseif ('categories' == $page['section']) +{ + if (isset($page['combined_categories'])) + { + $page['meta_robots'] = array('noindex'=>1, 'nofollow'=>1); + } +} + if ( $filter['enabled'] ) { $page['meta_robots']['noindex']=1; diff --git a/themes/default/template/menubar_related_categories.tpl b/themes/default/template/menubar_related_categories.tpl index 302421c60..fea1ccfa5 100644 --- a/themes/default/template/menubar_related_categories.tpl +++ b/themes/default/template/menubar_related_categories.tpl @@ -12,9 +12,9 @@ {/if}