From 82f64f453aebd7b6fe2c165ef4b71136942d4a05 Mon Sep 17 00:00:00 2001 From: hiro Date: Mon, 8 Apr 2019 22:28:11 +0200 Subject: [PATCH] Fix htaccess --- .htaccess | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.htaccess b/.htaccess index b1510864..9a578e08 100644 --- a/.htaccess +++ b/.htaccess @@ -1,16 +1,16 @@ RewriteEngine On -RewriteRule ^en-US$ /$1 [R=302,L] +RewriteRule ^en-US$ /$2 [R=302,L] # forward requests in /en to the root folder -RewriteRule ^en$ /$1 [R=302,L] +RewriteRule ^en$ /$2 [R=302,L] # Rewrites for languages that have a different mapping in the page -RewriteRule ^(es-ES|es-AR|es-MX|es-CO)$ /es/$1 [R=302,L] +RewriteRule ^(es-ES|es-AR|es-MX|es-CO)$ /es/$2 [R=302,L] # support for old URLs -RewriteRule ^/security-slider.html(.+) /$1/security-slider/ [R=302,L] +RewriteRule ^/security-slider.html(.+) /$2/security-slider/ [R=302,L] # Rewrites for languages that have a Tor Browser release # but don't have a translated manual @@ -18,5 +18,5 @@ RewriteRule ^/security-slider.html(.+) /$1/security-slider/ [R=302,L] RewriteRule ^(cs|da|fa|he|hu|is|ja|ko|nb-NO|nl|pl|sv-SE|vi|zh-TW)$ /$2 [R=302,L] # we have only one translation for this locales -RewriteRule ^bn-BD$ /bn$1 [R=302,L] -RewriteRule ^bn-IN$ /bn$1 [R=302,L] +RewriteRule ^bn-BD$ /bn$2 [R=302,L] +RewriteRule ^bn-IN$ /bn$2 [R=302,L]