From 3e076596220774dcf5e32325b7d387e581e3df28 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 2 Oct 2012 06:39:55 -0500 Subject: 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 --- urls.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'urls.py') diff --git a/urls.py b/urls.py index f01aeec..fd5ff7c 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)) -- cgit v1.2.3-24-g4f1b