2010-10-15 14:12:20 +00:00
|
|
|
RewriteEngine On
|
2010-10-16 13:41:06 +00:00
|
|
|
|
2010-10-20 13:07:30 +00:00
|
|
|
# moved to /docs/
|
2010-10-15 21:09:49 +00:00
|
|
|
RewriteRule ^faq(.*) /docs/faq$1 [R=301,L]
|
2010-10-20 13:07:30 +00:00
|
|
|
RewriteRule ^bridges(.*) /docs/bridges$1 [R=301,L]
|
|
|
|
RewriteRule ^abuse(.*) /docs/abuse$1 [R=301,L]
|
2010-10-23 22:03:33 +00:00
|
|
|
RewriteRule ^documentation(.*) /docs/documentation$1 [R=301,L]
|
2010-11-18 09:09:12 +00:00
|
|
|
RewriteRule ^verifying-signatures(.*) /docs/verifying-signatures$1 [R=301,L]
|
2012-02-08 08:38:43 +00:00
|
|
|
RewriteRule ^tor-manual(.*) /docs/tor-manual$1 [R=301,L]
|
2010-10-16 13:41:06 +00:00
|
|
|
|
|
|
|
# Torbutton
|
2014-04-24 14:39:20 +00:00
|
|
|
RewriteRule ^torbutton/design(.*) /docs/torbutton/en/design$1 [R=301,L]
|
2014-07-22 18:08:17 +00:00
|
|
|
RewriteRule ^torbutton/(.*) /docs/torbutton/$1 [R=301,L]
|
2010-10-16 18:14:47 +00:00
|
|
|
|
|
|
|
# Tor Browser
|
2010-10-16 22:02:11 +00:00
|
|
|
RewriteRule ^torbrowser/dist/(.*) /dist/torbrowser/$1 [R=301,L]
|
2014-04-24 14:39:20 +00:00
|
|
|
#RewriteRule ^torbrowser/$ /projects/torbrowser.html.en [R=301,L]
|
|
|
|
RewriteRule ^torbrowser(.*) /projects/torbrowser.html.en [R=301,L]
|
2010-10-16 18:14:47 +00:00
|
|
|
|
2014-10-17 08:51:27 +00:00
|
|
|
# tordnsel
|
|
|
|
RewriteRule ^tordnsel/dist/(.*) /dist/tordnsel/$1 [R=301,L]
|
|
|
|
|
2010-10-16 18:14:47 +00:00
|
|
|
# Overview
|
2010-10-16 22:02:11 +00:00
|
|
|
RewriteRule ^overview(.*) /about/overview$1 [R=301,L]
|
2010-10-16 18:18:46 +00:00
|
|
|
|
2010-10-18 04:33:38 +00:00
|
|
|
# Press
|
2010-10-28 05:26:01 +00:00
|
|
|
RewriteRule ^press/$ /press/press [R=301,L]
|
2010-10-16 22:02:11 +00:00
|
|
|
RewriteRule ^press/index.html(.*) /press/press.html$1 [R=301,L]
|
2010-10-18 04:26:43 +00:00
|
|
|
|
2010-10-18 04:33:38 +00:00
|
|
|
# Projects
|
2010-10-28 05:26:01 +00:00
|
|
|
RewriteRule ^projects/$ /projects/projects [R=301,L]
|
2010-10-18 04:33:38 +00:00
|
|
|
|
2016-07-06 16:34:48 +00:00
|
|
|
#Pluggable Transports
|
2016-11-23 02:34:19 +01:00
|
|
|
RewriteRule ^PT/?$ /docs/pluggable-transports [R=301,L]
|
2016-07-14 21:32:23 +02:00
|
|
|
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]
|
2016-07-06 16:34:48 +00:00
|
|
|
|
2010-10-18 04:33:38 +00:00
|
|
|
# GetInvolved
|
2010-10-28 05:26:01 +00:00
|
|
|
RewriteRule ^getinvolved/$ /getinvolved/volunteer [R=301,L]
|
2010-10-18 04:33:38 +00:00
|
|
|
RewriteRule ^volunteer(.*) /getinvolved/volunteer$1 [R=301,L]
|
2012-04-03 21:31:02 +00:00
|
|
|
RewriteRule ^tshirt(.*) /getinvolved/tshirt$1 [R=301,L]
|
2010-10-27 10:37:54 +00:00
|
|
|
|
2012-08-20 18:33:20 +00:00
|
|
|
RewriteRule ^research(.*) https://research.torproject.org/ [R=301,L]
|
|
|
|
RewriteRule ^getinvolved/research(.*) https://research.torproject.org/ [R=301,L]
|
|
|
|
|
2010-10-27 10:37:54 +00:00
|
|
|
# other (feel free to categorize)
|
2010-10-27 10:12:30 +00:00
|
|
|
RewriteRule ^people(.*) /about/corepeople$1 [R=301,L]
|
2016-11-23 02:12:41 +01:00
|
|
|
RewriteRule ^donate/$ https://donate.torproject.org [R=302,L]
|
2011-12-15 15:43:05 +00:00
|
|
|
RewriteRule ^contact(.*) /about/contact$1 [R=301,L]
|
2010-10-20 12:35:20 +00:00
|
|
|
|
|
|
|
# Download websites
|
|
|
|
RewriteRule ^download/$ /download/download [R=301,L]
|
|
|
|
RewriteRule ^download.html(.*) /download/download.html$1 [R=301,L]
|
2011-09-04 13:41:39 +00:00
|
|
|
RewriteRule ^easy-download(.*) /download/download-easy$1 [R=301,L]
|
2010-10-20 13:07:30 +00:00
|
|
|
|
2012-03-11 22:40:03 +00:00
|
|
|
# Relays
|
2012-03-11 23:07:30 +00:00
|
|
|
RewriteRule ^relays(.*) /getinvolved/relays [R=301,L]
|
2015-11-20 17:13:31 +01:00
|
|
|
|
2016-06-28 00:12:06 +02:00
|
|
|
# Index Pages
|
|
|
|
RewriteRule ^about/$ /about/overview [R=301,L]
|
|
|
|
RewriteRule ^cgi-bin/$ / [R=301,L]
|
|
|
|
RewriteRule ^css/$ / [R=301,L]
|
|
|
|
RewriteRule ^docs/$ /docs/documentation [R=301,L]
|
|
|
|
RewriteRule ^eff/$ / [R=301,L]
|
|
|
|
RewriteRule ^en/$ / [R=301,L]
|
|
|
|
RewriteRule ^images/$ / [R=301,L]
|
|
|
|
RewriteRule ^include/$ / [R=301,L]
|
|
|
|
RewriteRule ^js/$ / [R=301,L]
|
|
|
|
|
2015-11-20 17:13:31 +01:00
|
|
|
# Donation campagin
|
2016-11-18 14:53:28 +01:00
|
|
|
# 2016
|
2016-11-23 03:15:36 +01:00
|
|
|
# Special-case the donate-options and amazon page so it doesn't get redirected
|
2016-11-23 01:19:14 +01:00
|
|
|
RewriteRule ^donate/donate-options(.*) /donate/donate-options$1 [END]
|
2016-11-23 03:15:36 +01:00
|
|
|
RewriteRule ^donate/donate-amazon(.*) /donate/donate-amazon$1 [END]
|
2016-11-23 01:12:52 +01:00
|
|
|
RewriteRule ^donate/donate(.*) https://donate.torproject.org [R=302,L]
|
|
|
|
RewriteRule ^donate/donor-faq(.*) https://donate.torproject.org/donor-faq.html [R=302,L]
|
2016-11-23 02:12:41 +01:00
|
|
|
RewriteRule ^donate/donor-privacy-policy(.*) https://donate.torproject.org/privacy-policy.html [R=302,L]
|
2016-12-05 21:39:12 +01:00
|
|
|
|
|
|
|
# The following redirect is necessary because we're using that URL on
|
|
|
|
# some external resources (the donate infrastructure in particular) and
|
|
|
|
# getting it changed there is apparently hard or something.
|
2016-12-03 00:59:34 +01:00
|
|
|
RewriteRule ^donate-email(.*) https://donate.torproject.org/ [R=302,L]
|
2016-11-23 01:12:52 +01:00
|
|
|
|
2015-12-19 12:28:35 +01:00
|
|
|
|