-
Notifications
You must be signed in to change notification settings - Fork 9
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 to /fr for french users is broken #29
Comments
what's the current behavior? redirecting to /en? |
that's because the file _redirects is at the root of the repo, it should instead be placed somewhere so when hugo builds the website, the file is at the root like a favicon.ico or robots.txt |
@alexsland still broken? |
It seems that when sending multiple languages in the "Accept-Language" header, Netlify always returns the default language. Some tests: $ curl https://deploy-preview-75--p2pparis.netlify.com
Redirecting to /en/ $ curl -H 'accept-language: fr' https://deploy-preview-75--p2pparis.netlify.com
Redirecting to /fr/ $ curl -H 'accept-language: fr,en' https://deploy-preview-75--p2pparis.netlify.com
Redirecting to /en/ Anyway, I have already contact Netlify support about it, and they are currently checking. |
Netlify support came back.. their reply: So I think for now there is not much we can do about it. |
No description provided.
The text was updated successfully, but these errors were encountered: