I try to redirect to a virtual folder, if a specific language isnt detected, but this doesn't work:
RewriteCond %{HTTP:Accept-Language} ^!dk [NC] #if language isn't "dk"
RewriteRule ^$ /en/ [L,R=301] # rewrite to folder
RewriteRule ^en/(.*)$ /$1 [L,NC] # virtual folder
what i need:
if someone with another language than "dk" visits url.to/page.html he should be redirected to url.to/en/page.html, otherways he should stay in the root folder (url.to/page.html).
thanks for help!