mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
fixes #2218 avoid search engines to index search pages
This commit is contained in:
1 parent
40ca83d382
commit
b6789d4de9
2 files changed
+3
-3
No files matched your search
@@ -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