mirror of
https://github.com/torproject/support.git
synced 2024-11-27 19:30:36 +00:00
18 lines
686 B
ApacheConf
18 lines
686 B
ApacheConf
RewriteEngine On
|
|
|
|
# forward requests in /en and /en-US to the root folder
|
|
RewriteRule ^(en|en-US)$ / [R=302,L]
|
|
RewriteRule ^(en|en-US)/(.*) /$2 [R=302,L]
|
|
|
|
# Rewrites for languages that have a different mapping in the page than in TBB
|
|
RewriteRule ^(es-ES|es-MX|es-CO)(.*) /es$2 [R=302,L]
|
|
|
|
# we have only one translation for this locales
|
|
RewriteRule ^(bn-BD|bn-IN)(.*) /bn$2 [R=302,L]
|
|
RewriteRule ^ga-IE/(.*) /ga$1 [R=302,L]
|
|
|
|
# Rewrites for languages that have a Tor Browser release
|
|
# but don't have a support page
|
|
# this languages are the translation priority for the support portal!
|
|
RewriteRule ^(ar|cs|da|el|fa|he|hu|is|ja|ka|ko|ml|ms|mk|nb-NO|nl|pl|sv-SE|vi|zh-TW)/(.*) /$2 [R=302,L]
|