mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2218 avoid search engines to index search pages
This commit is contained in:
@@ -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'] )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user