mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-31 07:32:53 +00:00
* prepare v1-v2 domain switch * rename v1 changelog as CHANGELOG-1.x.md * switch v1/v2 changelogs * Cleanup v2.docusaurus.io urls * add netlify domain redirect * remove circleci config * remove another circle file
20 lines
703 B
Plaintext
20 lines
703 B
Plaintext
# Server redirects for Netlify
|
|
|
|
# v2.docusaurus.io domain redirect after we put v2 on docusaurus.io
|
|
https://v2.docusaurus.io/* https://docusaurus.io/:splat 301!
|
|
|
|
|
|
# Redirect to fix blog post url typo on publish :'( can be cleaned up soon
|
|
/blog/2020/01/19/docusaurus-2020-recap /blog/2021/01/19/docusaurus-2020-recap
|
|
/classic/blog/2020/01/19/docusaurus-2020-recap /classic/blog/2021/01/19/docusaurus-2020-recap
|
|
|
|
|
|
# Redirect each country sub-path to appropriate localized 404 file
|
|
# See https://docs.netlify.com/routing/redirects/redirect-options/#custom-404-page-handling
|
|
/fr/* /fr/404.html 404
|
|
|
|
|
|
# Redirect Docusaurus v1 blog RSS feed
|
|
/blog/feed.xml /blog/rss.xml
|
|
|