Closed hzoo closed 6 years ago
can I take this up?
Yeah although not sure you know where to look for the old urls - if so it should be really easy with a glob type thing
From your comment- I thought old urls are at https://github.com/babel/website/blob/master/_redirects
I can update by looking at that?
https://github.com/facebook/Docusaurus/issues/248 might make this easier.
Yeah we just need to update https://github.com/babel/website/blob/master/_redirects is all. I just mean we need to make sure it works for all the previouos urls we know about (hard to know but we can add as we learn about them too)
We need to redirect for any changes in the url structure of the site
We already have this file: https://github.com/babel/website/blob/master/_redirects
So we just need to update it after looking at https://www.netlify.com/docs/redirects/
/learn-es2015 /docs/en/learn.html
EDIT: we should maybe add a section about this in the 404 page? Like if you are coming from an external URL, file an issue for us to add a redirect?