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>
This commit is contained in:
Dan McGee 2012-10-02 06:39:55 -05:00
parent febf5e9223
commit 3e07659622

10
urls.py
View File

@ -98,11 +98,21 @@
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))