[tor-commits] [webwml/staging] Redirect /PT as well as /PT/

sebastian at torproject.org sebastian at torproject.org
Wed Nov 23 01:35:01 UTC 2016


commit 40a25260bb811f36611ac47cdacbdf36182a0e5b
Author: Sebastian Hahn <sebastian at torproject.org>
Date:   Wed Nov 23 02:34:19 2016 +0100

    Redirect /PT as well as /PT/
    
    Implements #20730, thanks dcf
---
 .htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.htaccess b/.htaccess
index 3e351c3..5d0277a 100644
--- a/.htaccess
+++ b/.htaccess
@@ -31,7 +31,7 @@ RewriteRule ^press/index.html(.*) /press/press.html$1 [R=301,L]
 RewriteRule ^projects/$ /projects/projects [R=301,L]
 
 #Pluggable Transports
-RewriteRule ^PT/$ /docs/pluggable-transports [R=301,L]
+RewriteRule ^PT/?$ /docs/pluggable-transports [R=301,L]
 RewriteRule ^projects/obfsproxy-debian-instructions(.*) /docs/pluggable-transports [R=410,L]
 RewriteRule ^projects/obfsproxy-instructions(.*) /docs/pluggable-transports [R=410,L]
 RewriteRule ^projects/obfsproxy(.*) /docs/pluggable-transports [R=301,L]





More information about the tor-commits mailing list