[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [manual/develop] Prevent 404 when new locales users click on browser links.



commit 073a115f9af810ccec9f6db966b33665ff590ad8
Author: emma peel <emma.peel@xxxxxxxxxx>
Date:   Thu Nov 21 11:56:03 2019 +0100

    Prevent 404 when new locales users click on browser links.
---
 .htaccess | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.htaccess b/.htaccess
index f965d3d..c055b0a 100644
--- a/.htaccess
+++ b/.htaccess
@@ -19,8 +19,8 @@ RewriteRule ^(es-ES|es-MX|es-CO)/(.*) /es/$2 [R=302,L]
 # Rewrites for languages that have a Tor Browser release
 # but don't have a translated manual
 # this languages are the priority for translation of the Tor Browser User Manual!
-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]
+RewriteRule ^(cs|da|fa|hu|ja|ko|ms|lt|nb-NO|nl|pl|sv-SE|vi|zh-TW)$ / [R=302,L]
+RewriteRule ^(cs|da|fa|hu|ja|ko|ms|lt|nb-NO|nl|pl|sv-SE|vi|zh-TW)/(.*) /$2 [R=302,L]
 
 # we have only one translation for this locales
 RewriteRule ^bn-(BD|IN)$ /bn [R=302,L]



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits