From: Pascal Corpet Date: Wed, 5 Nov 2008 09:52:30 +0000 (+0100) Subject: authorize bots to read sitemap X-Git-Url: http://git.polytechnique.org/?p=wikifarm.git;a=commitdiff_plain;h=463f95218f5daf2b2aabe2b0f0020da9419e86f9 authorize bots to read sitemap --- diff --git a/install/cookbook/sitemap.php b/install/cookbook/sitemap.php index c58c4c6..02eef71 100644 --- a/install/cookbook/sitemap.php +++ b/install/cookbook/sitemap.php @@ -46,6 +46,7 @@ SDV($HandleActions['sitemap'], 'HandleSitemap'); # it is not usefull to have bot SDV($SitemapDelay, 3600); # Seconds to wait after last edit set to -1 to disable automatic generation SDV($SitemapSquelch, 12*3600); # Squelch between generations of sitemap +$RobotActions['sitemap'] = 1; SDVA($SitemapSearchPatterns, array()); $SitemapSearchPatterns[] = '!\.(All)?Recent(Changes|Uploads|Pages)$!';