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 outdatedbrowser.com according to language #304

Open
Baptistou opened this issue Nov 2, 2018 · 0 comments
Open

Redirect outdatedbrowser.com according to language #304

Baptistou opened this issue Nov 2, 2018 · 0 comments

Comments

@Baptistou
Copy link

Hello,
I really like outdatedbrowser.com, but by default it is redirected to outdatedbrowser.com/en.
Could you redirect your website according to the HTTP header Accept-Language please ?
For now, I am using the following Apache conf, it would be nice if it was done in your side.
Thank you :)

SetEnvIf Accept-Language (.*) LANG=en
SetEnvIf Accept-Language fr-FR LANG=fr
# ...
RewriteRule (.*) http://outdatedbrowser.com/%{ENV:LANG} [R=302,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant