summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-10-02 06:39:55 -0500
committerDan McGee <dan@archlinux.org>2012-10-02 06:52:59 -0500
commit3e076596220774dcf5e32325b7d387e581e3df28 (patch)
tree297f862f2ec88bf70880073e522afeaa21e32dd9 /urls.py
parentfebf5e92233738198107a69f66c9f3443b4306c7 (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>
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/urls.py b/urls.py
index f01aeecb..fd5ff7cf 100644
--- a/urls.py
+++ b/urls.py
@@ -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))