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:
parent
febf5e9223
commit
3e07659622
10
urls.py
10
urls.py
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user