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

[tor-commits] [community/master] add language redirects for homepage. will-fix: https://gitlab.torproject.org/tpo/web/community/-/issues/154



commit 346bdbce7b8974a267f86baea9bb1663c1d6d7e1
Author: emma peel <emma.peel@xxxxxxxxxx>
Date:   Tue Mar 2 21:04:04 2021 +0100

    add language redirects for homepage. will-fix: https://gitlab.torproject.org/tpo/web/community/-/issues/154
---
 .htaccess | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.htaccess b/.htaccess
index 893b7b1..548371a 100644
--- a/.htaccess
+++ b/.htaccess
@@ -19,4 +19,5 @@ RewriteRule ^ga-IE/(.*) /ga$1 [R=302,L]
 # but don't have a community page
 # You can see them at https://dist.torproject.org/torbrowser/, pick the last alpha for the most languages
 # this languages are the translation priority for the community portal!
+RewriteRule ^(ar|ca|cs|da|de|el|fa|fr|ga|he|hu|id|is|it|ja|ka|ko|lt|mk|ms|nb-NO|nl|pl|pt-BR|pt-PT|ro|ru|sv-SE|th|tr|vi|zh-CN|zh-TW)$ / [R=302,L]
 RewriteRule ^(ar|ca|cs|da|de|el|fa|fr|ga|he|hu|id|is|it|ja|ka|ko|lt|mk|ms|nb-NO|nl|pl|pt-BR|pt-PT|ro|ru|sv-SE|th|tr|vi|zh-CN|zh-TW)/(.*) /$2 [R=302,L]

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