Answer the question
In order to leave comments, you need to log in
How to give the user the option to select a language after a forced htaccess redirect?
There is a simple multilingual site, almost a one-page site. The site has 3 language versions. By default, the root is English, while the Russian and German versions lie on the ru and de subdomains, respectively. htaccess has a redirect depending on the browser language.
RewriteCond %{HTTP:Accept-Language} ^ru [NC]
RewriteRule ^$ http://ru.sitename.com/ [L,R=301]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question