fixes #2218 avoid search engines to index search pages

This commit is contained in:
plegall committed 2024-09-03 21:05:57 +02:00
1 parent 40ca83d382
commit b6789d4de9
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -611,7 +611,7 @@ elseif ('recent_cats'==$page['section'])
}
elseif ('search'==$page['section'])
{
$page['meta_robots']['nofollow']=1;
$page['meta_robots']=array('noindex'=>1, 'nofollow'=>1);
}
if ( $filter['enabled'] )
{