[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [webwml/master] Try the donation redirect hack



commit 1c3f8602692fd0baea1b335c83b3a0b31ce255df
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date:   Fri Nov 20 17:13:31 2015 +0100

    Try the donation redirect hack
---
 .htaccess         |    7 +++++++
 en/navigation.wmi |    2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/.htaccess b/.htaccess
index 6cdca66..1b40159 100644
--- a/.htaccess
+++ b/.htaccess
@@ -50,3 +50,10 @@ RewriteRule ^easy-download(.*) /download/download-easy$1 [R=301,L]
 
 # Relays
 RewriteRule ^relays(.*) /getinvolved/relays [R=301,L]
+
+# Donation campagin
+RewriteRule ^donate-twitter(.*) /donate/donate$1 [R=302,L]
+RewriteRule ^donate-hp(.*) /donate/donate$1 [R=302,L]
+RewriteRule ^donate-tbb(.*) /donate/donate$1 [R=302,L]
+RewriteRule ^donate-banner(.*) /donate/donate$1 [R=302,L]
+RewriteRule ^donate-download(.*) /donate/donate$1 [R=302,L]
diff --git a/donate/en/donate-banner.wml b/donate/en/donate-banner.wml
new file mode 100644
index 0000000..e69de29
diff --git a/donate/en/donate-download.wml b/donate/en/donate-download.wml
new file mode 100644
index 0000000..e69de29
diff --git a/donate/en/donate-hp.wml b/donate/en/donate-hp.wml
new file mode 100644
index 0000000..e69de29
diff --git a/donate/en/donate-tbb.wml b/donate/en/donate-tbb.wml
new file mode 100644
index 0000000..e69de29
diff --git a/donate/en/donate-twitter.wml b/donate/en/donate-twitter.wml
new file mode 100644
index 0000000..e69de29
diff --git a/en/navigation.wmi b/en/navigation.wmi
index ce8b001..504f29d 100644
--- a/en/navigation.wmi
+++ b/en/navigation.wmi
@@ -22,7 +22,7 @@
     my @calltoaction = (
         'download/download-easy'                , 'Download',
         'getinvolved/volunteer'            , 'Volunteer',
-        'donate/donate'                    , 'Donate',
+        'donate/donate-button'                    , 'Donate',
     );
 
 :>



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits