[tor-commits] [webwml/staging] Move current campaign redirects up
sebastian at torproject.org
sebastian at torproject.org
Tue Nov 22 22:37:15 UTC 2016
commit 247d8d6b408acbb1aa124f82231c76dabca99c24
Author: Sebastian Hahn <sebastian at torproject.org>
Date: Fri Nov 18 14:53:28 2016 +0100
Move current campaign redirects up
---
.htaccess | 39 +++++++++++++++++++++------------------
1 file changed, 21 insertions(+), 18 deletions(-)
diff --git a/.htaccess b/.htaccess
index 32d7306..8f54d2d 100644
--- a/.htaccess
+++ b/.htaccess
@@ -69,6 +69,27 @@ RewriteRule ^include/$ / [R=301,L]
RewriteRule ^js/$ / [R=301,L]
# Donation campagin
+# 2016
+RewriteRule ^donate/donate-homepage-en(.*) https://donate.torproject.org [R=302,L]
+RewriteRule ^donate/donate-twitter-en(.*) https://donate.torproject.org [R=302,L]
+RewriteRule ^donate/donate-share-en(.*) https://donate.torproject.org [R=302,L]
+RewriteRule ^donate/donate-fb-en(.*) https://donate.torproject.org [R=302,L]
+RewriteRule ^donate/donate-blog-en(.*) https://donate.torproject.org [R=302,L]
+RewriteRule ^donate/donate-email-en(.*) https://donate.torproject.org [R=302,L]
+RewriteRule ^donate/donate-tbb-de(.*) https://donate.torproject.org [R=302,L]
+RewriteRule ^donate/donate-tbb-en(.*) https://donate.torproject.org [R=302,L]
+RewriteRule ^donate/donate-tbb-es(.*) https://donate.torproject.org [R=302,L]
+RewriteRule ^donate/donate-tbb-fa(.*) https://donate.torproject.org [R=302,L]
+RewriteRule ^donate/donate-tbb-fr(.*) https://donate.torproject.org [R=302,L]
+RewriteRule ^donate/donate-tbb-it(.*) https://donate.torproject.org [R=302,L]
+RewriteRule ^donate/donate-tbb-nl(.*) https://donate.torproject.org [R=302,L]
+RewriteRule ^donate/donate-tbb-pt(.*) https://donate.torproject.org [R=302,L]
+RewriteRule ^donate/donate-tbb-ru(.*) https://donate.torproject.org [R=302,L]
+RewriteRule ^donate/donate-tbb-tr(.*) https://donate.torproject.org [R=302,L]
+RewriteRule ^donate/donate-tbb-vi(.*) https://donate.torproject.org [R=302,L]
+RewriteRule ^donate/donate-tbb-zh(.*) https://donate.torproject.org [R=302,L]
+
+# 2015
RewriteRule ^donate/donate-twitter(.*) /donate/donate$1 [R=302,L]
RewriteRule ^donate/donate-tbb(.*) /donate/donate$1 [R=302,L]
RewriteRule ^donate/donate-banner(.*) /donate/donate$1 [R=302,L]
@@ -95,21 +116,3 @@ RewriteRule ^donate/donate-hp(.*) /donate/donate$1 [R=302,L]
# yuck, https://twitter.com/torproject/status/677928074630049793
RewriteRule ^Donate/Donate-Twitter(.*) /donate/donate$1 [R=302,L]
-RewriteRule ^donate/donate-homepage-en(.*) https://donate.torproject.org [R=302,L]
-RewriteRule ^donate/donate-twitter-en(.*) https://donate.torproject.org [R=302,L]
-RewriteRule ^donate/donate-share-en(.*) https://donate.torproject.org [R=302,L]
-RewriteRule ^donate/donate-fb-en(.*) https://donate.torproject.org [R=302,L]
-RewriteRule ^donate/donate-blog-en(.*) https://donate.torproject.org [R=302,L]
-RewriteRule ^donate/donate-email-en(.*) https://donate.torproject.org [R=302,L]
-RewriteRule ^donate/donate-tbb-de(.*) https://donate.torproject.org [R=302,L]
-RewriteRule ^donate/donate-tbb-en(.*) https://donate.torproject.org [R=302,L]
-RewriteRule ^donate/donate-tbb-es(.*) https://donate.torproject.org [R=302,L]
-RewriteRule ^donate/donate-tbb-fa(.*) https://donate.torproject.org [R=302,L]
-RewriteRule ^donate/donate-tbb-fr(.*) https://donate.torproject.org [R=302,L]
-RewriteRule ^donate/donate-tbb-it(.*) https://donate.torproject.org [R=302,L]
-RewriteRule ^donate/donate-tbb-nl(.*) https://donate.torproject.org [R=302,L]
-RewriteRule ^donate/donate-tbb-pt(.*) https://donate.torproject.org [R=302,L]
-RewriteRule ^donate/donate-tbb-ru(.*) https://donate.torproject.org [R=302,L]
-RewriteRule ^donate/donate-tbb-tr(.*) https://donate.torproject.org [R=302,L]
-RewriteRule ^donate/donate-tbb-vi(.*) https://donate.torproject.org [R=302,L]
-RewriteRule ^donate/donate-tbb-zh(.*) https://donate.torproject.org [R=302,L]
More information about the tor-commits
mailing list