[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [community/staging] add forward for english variants
commit e73fdd69d544761c7ef32f07259c660dc59b57ed
Author: emma peel <emma.peel@xxxxxxxxxx>
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]
+
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits