2019-03-28 08:09:05 +00:00
|
|
|
RewriteEngine On
|
|
|
|
|
2019-03-29 13:05:12 +00:00
|
|
|
RewriteRule ^en-US/(.+)$ /$1 [R=302,L]
|
2019-03-28 08:09:05 +00:00
|
|
|
|
|
|
|
# forward requests in /en to the root folder
|
2019-03-29 13:05:12 +00:00
|
|
|
RewriteRule ^en/(.+)$ /$1 [R=302,L]
|
2019-03-28 08:09:05 +00:00
|
|
|
RewriteRule ^en / [R=302,L]
|
|
|
|
|
2019-03-28 08:09:05 +00:00
|
|
|
|
2019-03-28 08:09:05 +00:00
|
|
|
# Rewrites for languages that have a different mapping in the page
|
2019-03-30 08:52:23 +00:00
|
|
|
RewriteRule ^(es-ES|es-AR|es-MX|es-CO)(.+)$ /es$1 [R=302,L]
|
2019-03-28 08:09:05 +00:00
|
|
|
|
2019-03-28 09:13:01 +00:00
|
|
|
# support for old URLs
|
2019-03-29 13:05:12 +00:00
|
|
|
RewriteRule ^(.+)/security-slider.html$ /$1/security-slider/ [R=302,L]
|
2019-03-28 09:13:01 +00:00
|
|
|
|
2019-03-28 08:09:05 +00:00
|
|
|
# Rewrites for languages that have a Tor Browser release
|
2019-03-28 09:13:01 +00:00
|
|
|
# but don't have a translated manual
|
2019-03-28 08:09:05 +00:00
|
|
|
|
2019-03-29 13:05:12 +00:00
|
|
|
RewriteRule ^(cs|da|fa|he|hu|is|ja|ko|nb-NO|nl|pl|sv-SE|vi|zh-TW)/(.+)$ /$1 [R=302,L]
|
2019-03-28 08:09:05 +00:00
|
|
|
RewriteRule ^(cs|da|fa|he|hu|is|ja|ko|nb-NO|nl|pl|sv-SE|vi|zh-TW)$ / [R=302,L]
|
2019-03-29 13:05:12 +00:00
|
|
|
# we have only one translation for this file
|
2019-03-29 15:03:06 +00:00
|
|
|
RewriteRule ^bn-BD(.+)$ /bn$1 [R=302,L]
|
|
|
|
RewriteRule ^bn-IN(.+)$ /bn$1 [R=302,L]
|