diff options
author | rvelices <rv-github@modusoptimus.com> | 2007-10-16 01:46:09 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2007-10-16 01:46:09 +0000 |
commit | b606b6d1ab4a484fae1922a574540c4bf6753be2 (patch) | |
tree | 00f265e055cf435a438b951215fd95e10986228b /include/section_init.inc.php | |
parent | 608c174245ed8825366e40254e93bd57f777356d (diff) |
- quick search optimizations (less queries)
- added some meta_robots (noindex and nofollow) on popuphelp, search_rules and search seaction (googlebot gets crazy)
git-svn-id: http://piwigo.org/svn/trunk@2138 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/section_init.inc.php')
-rw-r--r-- | include/section_init.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/section_init.inc.php b/include/section_init.inc.php index a43d5ea0d..99dad6182 100644 --- a/include/section_init.inc.php +++ b/include/section_init.inc.php @@ -538,6 +538,10 @@ elseif ('tags' == $page['section']) } elseif ('recent_cats'==$page['section']) { + $page['meta_robots']['noindex']=1; +} +elseif ('search'==$page['section']) +{ $page['meta_robots']['nofollow']=1; } if ( $filter['enabled'] ) |