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

Redirection without hydratation #4

Open
1 of 5 tasks
kiuKisas opened this issue Dec 31, 2020 · 1 comment
Open
1 of 5 tasks

Redirection without hydratation #4

kiuKisas opened this issue Dec 31, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@kiuKisas
Copy link
Owner

kiuKisas commented Dec 31, 2020

  • get different permalinks for each locales
  • expose these permalinks in the client page
  • detect current browser language (or allow any callback to do so)
  • redirect according to this current lang
  • use default local if none match
@kiuKisas kiuKisas added the enhancement New feature or request label Dec 31, 2020
@kiuKisas
Copy link
Owner Author

Note that google disapprove redirection for SEO concern. See: https://developers.google.com/search/docs/advanced/crawling/managing-multi-regional-sites

Avoid automatic redirection based on the user's perceived language. These redirections could prevent users (and search engines) from viewing all the versions of your site.

@kiuKisas kiuKisas changed the title Add redirection ability without svelte-i18n Redirection feature Jan 3, 2021
@kiuKisas kiuKisas changed the title Redirection feature Redirection without hydratation Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant