I've also added redirects for old links - those are configured in the admin panel, rather than in code.