mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 19:59:56 +03:00
fixes #2218 avoid search engines to index search pages
This commit is contained in:
parent
40ca83d382
commit
b6789d4de9
2 changed files with 3 additions and 3 deletions
|
@ -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'] )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue