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

Redirect cn.eslint.org to zh-hans.eslint.org site #368

Closed
kecrily opened this issue Nov 10, 2022 · 3 comments · Fixed by #369
Closed

Redirect cn.eslint.org to zh-hans.eslint.org site #368

kecrily opened this issue Nov 10, 2022 · 3 comments · Fixed by #369
Assignees
Projects

Comments

@kecrily
Copy link
Member

kecrily commented Nov 10, 2022

The new Simplified Chinese site is ready, let's say goodbye to cn.eslint.org. Now it's time to take people to the new site.

@nzakas
Copy link
Member

nzakas commented Nov 10, 2022

It looks like there's no easy way to do this within Netlify DNS, so investigating other alternatives.

@kecrily
Copy link
Member Author

kecrily commented Nov 11, 2022

It might be possible to configure this using the _redirects file

https://docs.netlify.com/routing/redirects/

@nzakas
Copy link
Member

nzakas commented Nov 11, 2022

Yes, that's what I'm doing. I'm going to point both docs.eslint.org and cn.eslint.org to eslint.org and then use redirects to get them to the right place.

@nzakas nzakas closed this as completed Nov 11, 2022
@nzakas nzakas reopened this Nov 11, 2022
@eslint-github-bot eslint-github-bot bot added this to Needs Triage in Triage Nov 11, 2022
@nzakas nzakas transferred this issue from eslint/zh-hans.docs.eslint.org Nov 11, 2022
nzakas added a commit that referenced this issue Nov 11, 2022
docs.eslint.org should redirect to eslint.org/docs/latest/
cn.eslint.org should redirect to zh-hans.eslint.org

Fixes #368
snitin315 pushed a commit that referenced this issue Nov 12, 2022
docs.eslint.org should redirect to eslint.org/docs/latest/
cn.eslint.org should redirect to zh-hans.eslint.org

Fixes #368
Triage automation moved this from Needs Triage to Complete Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Triage
Complete
Development

Successfully merging a pull request may close this issue.

2 participants