2019-03-28 08:09:05 +00:00
|
|
|
RewriteEngine On
|
|
|
|
|
2019-04-09 11:27:31 +00:00
|
|
|
# support for old URLs
|
2019-05-27 05:43:36 +00:00
|
|
|
RewriteRule ^(.*)/security-slider.html$ /$1/security-settings/ [R=302,L]
|
|
|
|
RewriteRule ^security-slider.html$ /security-settings/ [R=302,L]
|
2019-04-09 11:27:31 +00:00
|
|
|
|
2019-08-26 15:02:16 +00:00
|
|
|
# this document moved to the community portal
|
|
|
|
RewriteRule ^(.*)/becoming-tor-translator$ https://community.torproject.org/$1/localization/becoming-tor-translator/ [R=302,L]
|
|
|
|
RewriteRule ^becoming-tor-translator$ https://community.torproject.org/becoming-tor-translator/ [R=302,L]
|
2019-05-22 06:10:34 +00:00
|
|
|
|
2019-03-28 08:09:05 +00:00
|
|
|
# forward requests in /en to the root folder
|
2019-04-24 11:42:14 +00:00
|
|
|
RewriteRule ^(en-US|en)$ / [R=302,L]
|
2019-05-21 19:06:26 +00:00
|
|
|
RewriteRule ^(en-US|en)/(.*) /$2 [R=302,L]
|
2019-03-28 08:09:05 +00:00
|
|
|
|
|
|
|
# Rewrites for languages that have a different mapping in the page
|
2019-04-24 11:30:26 +00:00
|
|
|
RewriteRule ^(es-ES|es-MX|es-CO)$ /es [R=302,L]
|
|
|
|
RewriteRule ^(es-ES|es-MX|es-CO)/(.*) /es/$2 [R=302,L]
|
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-30 08:52:58 +00:00
|
|
|
# this languages are the priority for translation of the Tor Browser User Manual!
|
2019-05-29 11:27:39 +00:00
|
|
|
RewriteRule ^(cs|da|fa|hu|ja|ko|nb-NO|nl|pl|sv-SE|vi|zh-TW)$ / [R=302,L]
|
|
|
|
RewriteRule ^(cs|da|fa|hu|ja|ko|nb-NO|nl|pl|sv-SE|vi|zh-TW)/(.*) /$2 [R=302,L]
|
2019-03-30 08:54:45 +00:00
|
|
|
|
|
|
|
# we have only one translation for this locales
|
2019-04-24 12:08:44 +00:00
|
|
|
RewriteRule ^bn-(BD|IN)$ /bn [R=302,L]
|
2019-05-29 11:28:17 +00:00
|
|
|
RewriteRule ^bn-(BD|IN)/(.*) /bn/$2 [R=302,L]
|