summaryrefslogtreecommitdiff
path: root/plugins/Sitemap/SitemapPlugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Sitemap/SitemapPlugin.php')
-rw-r--r--plugins/Sitemap/SitemapPlugin.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/Sitemap/SitemapPlugin.php b/plugins/Sitemap/SitemapPlugin.php
index 42ea1dbe6..8889c8930 100644
--- a/plugins/Sitemap/SitemapPlugin.php
+++ b/plugins/Sitemap/SitemapPlugin.php
@@ -96,11 +96,13 @@ class SitemapPlugin extends Plugin
{
$m->connect('sitemapindex.xml',
array('action' => 'sitemapindex'));
- $m->connect('/sitemaps/notice/:year/:month/:day.xml',
+ $m->connect('/sitemaps/notice/:year/:month/:day/:index.xml',
array('action' => 'noticesitemap'),
array('year' => '[0-9]{4}',
'month' => '[1]?[0-9]',
- 'day' => '[123]?[0-9]'));
+ 'day' => '[123]?[0-9]',
+ 'index' => '[0-9]+'));
+
$m->connect('/sitemaps/user/:index.xml',
array('action' => 'usersitemap'),
array('index' => '[0-9]+',