]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
make sure notice and user sitemap are 'in' top level directory
authorEvan Prodromou <evan@status.net>
Mon, 12 Apr 2010 16:06:08 +0000 (12:06 -0400)
committerEvan Prodromou <evan@status.net>
Tue, 1 Jun 2010 20:52:27 +0000 (13:52 -0700)
plugins/Sitemap/SitemapPlugin.php

index 29c32a6242cb1c630b492da3b1dacc9f88e43759..ed876d94f822d77cb8c8aeff6ede92808960dcea 100644 (file)
@@ -89,14 +89,14 @@ class SitemapPlugin extends Plugin
         $m->connect('sitemapindex.xml',
                     array('action' => 'sitemapindex'));
 
-        $m->connect('/sitemaps/notice/:year/:month/:day/:index.xml',
+        $m->connect('/notice-sitemap-:year-:month-:day-:index.xml',
                     array('action' => 'noticesitemap'),
                     array('year' => '[0-9]{4}',
                           'month' => '[01][0-9]',
                           'day' => '[0123][0-9]',
                           'index' => '[1-9][0-9]*'));
 
-        $m->connect('/sitemaps/user/:year/:month/:day/:index.xml',
+        $m->connect('/user-sitemap-:year-:month-:day-:index.xml',
                     array('action' => 'usersitemap'),
                     array('year' => '[0-9]{4}',
                           'month' => '[01][0-9]',