Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add some redirects to v1.docusaurus.io #4670

Merged
merged 2 commits into from Apr 22, 2021

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Apr 22, 2021

Motivation

SEO tools report we have a few external links targeting Docusaurus v1 URLs, but these links now show a v2 404 page.

We can:

  • redirect those URLs to the v1.docusaurus.io subdomain (same page)
  • redirect those URLs to the v2 homepage (v1 pages might not exist in v2) and try to pass the "SEO juice" to v2

I choose the first solution

@slorber slorber added the pr: maintenance This PR does not produce any behavior differences to end users when upgrading. label Apr 22, 2021
@slorber slorber requested a review from lex111 as a code owner April 22, 2021 17:28
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Apr 22, 2021
@github-actions
Copy link

Size Change: 0 B

Total Size: 631 kB

ℹ️ View Unchanged
Filename Size Change
website/build/assets/css/styles.********.css 88 kB 0 B
website/build/assets/js/main.********.js 453 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus/index.html 62.3 kB 0 B
website/build/docs/introduction/index.html 235 B 0 B
website/build/index.html 27.1 kB 0 B

compressed-size-action

@netlify
Copy link

netlify bot commented Apr 22, 2021

[V2]

Built with commit 776b5e7

https://deploy-preview-4670--docusaurus-2.netlify.app

@netlify
Copy link

netlify bot commented Apr 22, 2021

[V1]

Built with commit 776b5e7

https://deploy-preview-4670--docusaurus-1.netlify.app

@slorber slorber merged commit 046f174 into master Apr 22, 2021
@slorber slorber deleted the slorber/more-v1-redirects branch August 17, 2021 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: maintenance This PR does not produce any behavior differences to end users when upgrading.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants