mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-11-09 02:12:33 +01:00
This commit is contained in:
1 parent
e0acc59d22
commit
9f76b669c9
2 files changed
+10
-2
No files matched your search
@@ -613,6 +613,14 @@ elseif ('search'==$page['section'])
|
||||
{
|
||||
$page['meta_robots']=array('noindex'=>1, 'nofollow'=>1);
|
||||
}
|
||||
elseif ('categories' == $page['section'])
|
||||
{
|
||||
if (isset($page['combined_categories']))
|
||||
{
|
||||
$page['meta_robots'] = array('noindex'=>1, 'nofollow'=>1);
|
||||
}
|
||||
}
|
||||
|
||||
if ( $filter['enabled'] )
|
||||
{
|
||||
$page['meta_robots']['noindex']=1;
|
||||
|
||||
Reference in new issue
Block a user