[tor-commits] [community/master] add forward for english variants

emmapeel at torproject.org emmapeel at torproject.org
Tue May 28 15:35:49 UTC 2019


commit fc5636e9aa0350d1c1677c22657d1b25bfe28914
Author: emma peel <emma.peel at riseup.net>
Date:   Tue May 28 11:31:49 2019 +0200

    add forward for english variants
---
 .htaccess | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.htaccess b/.htaccess
index e69de29..6e2c53a 100644
--- a/.htaccess
+++ b/.htaccess
@@ -0,0 +1,4 @@
+# forward requests in /en to the root folder
+RewriteRule ^(en-US|en)$ / [R=302,L]
+RewriteRule ^(en-US|en)/(.*) /$2 [R=302,L]
+





More information about the tor-commits mailing list