diff options
author | Dan McGee <dan@archlinux.org> | 2012-10-02 06:39:55 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-10-02 06:52:59 -0500 |
commit | 3e076596220774dcf5e32325b7d387e581e3df28 (patch) | |
tree | 297f862f2ec88bf70880073e522afeaa21e32dd9 | |
parent | febf5e92233738198107a69f66c9f3443b4306c7 (diff) |
Add a few more redirects for old links
This covers more .php pages noticed in Google webmaster tools, as well
as some links to former documentation.
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | urls.py | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -98,11 +98,21 @@ urlpatterns += patterns('', legacy_urls = ( ('^about.php', '/about/'), ('^changelog.php', '/packages/?sort=-last_update'), + ('^devs.php', '/developers/'), + ('^donations.php', '/donate/'), ('^download.php', '/download/'), ('^index.php', '/'), ('^logos.php', '/art/'), ('^news.php', '/news/'), ('^packages.php', '/packages/'), + ('^people.php', '/developers/'), + + ('^docs/en/guide/install/arch-install-guide.html', + 'https://wiki.archlinux.org/index.php/Installation_Guide'), + ('^docs/en/', + 'https://wiki.archlinux.org/'), + ('^docs/', + 'https://wiki.archlinux.org/'), ) urlpatterns += [url(old_url, RedirectView.as_view(url=new_url)) |