forked from web/portal
init
This commit is contained in:
14
public/htaccess
Normal file
14
public/htaccess
Normal file
@@ -0,0 +1,14 @@
|
||||
RewriteEngine on
|
||||
|
||||
RewriteCond %{HTTP:Accept-Language} ^en [NC]
|
||||
RewriteRule ^$ https://%{HTTP_HOST}/en/ [L,R=300]
|
||||
|
||||
RewriteCond %{HTTP:Accept-Language} ^de [NC]
|
||||
RewriteRule ^$ https://%{HTTP_HOST}/de/ [L,R=300]
|
||||
|
||||
RewriteCond %{HTTP:Accept-Language} ^fr [NC]
|
||||
RewriteRule ^$ https://%{HTTP_HOST}/fr/ [L,R=300]
|
||||
|
||||
# Fallback for any other language to spanish
|
||||
RewriteCond %{HTTP_HOST} my.ecogood.world [NC]
|
||||
RewriteRule ^$ https://%{HTTP_HOST}/en2/ [L,R=300]
|
||||
Reference in New Issue
Block a user