outdatedbrowser / outdated-browser

A simple tool to identify and upgrade old browsers.
https://bestvpn.org/outdatedbrowser/
MIT License
3.53k stars 373 forks source link

Redirect outdatedbrowser.com according to language #304

Open Baptistou opened 6 years ago

Baptistou commented 6 years ago

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]