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

emmapeel at torproject.org emmapeel at torproject.org
Tue May 28 09:32:28 UTC 2019


commit e73fdd69d544761c7ef32f07259c660dc59b57ed
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