git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 8957d2bd authored by Evan Prodromou's avatar Evan Prodromou

change URLs for user sitemap

parent 8e276695
......@@ -95,11 +95,12 @@ class SitemapPlugin extends Plugin
'day' => '[0123][0-9]',
'index' => '[1-9][0-9]*'));
$m->connect('/sitemaps/user/:index.xml',
$m->connect('/sitemaps/user/:year/:month/:day/:index.xml',
array('action' => 'usersitemap'),
array('index' => '[0-9]+',
'month' => '[1]?[0-9]',
'day' => '[123]?[0-9]'));
array('year' => '[0-9]{4}',
'month' => '[01][0-9]',
'day' => '[0123][0-9]',
'index' => '[1-9][0-9]*'));
return true;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment