feat: add root language redirect for o2switch hosting

This commit is contained in:
2026-08-02 16:02:17 +02:00
parent f85488fe2b
commit fdd19ce874
2 changed files with 23 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/$
RewriteCond %{HTTP:Accept-Language} fr [NC]
RewriteRule ^$ /fr/ [R=302,L]
RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^$ /en/ [R=302,L]