fixes #2218 avoid search engines to index search pages

This commit is contained in:
plegall 2024-09-03 21:05:44 +02:00
parent 40ca83d382
commit b6789d4de9
2 changed files with 3 additions and 3 deletions

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'] )
{