.htaccess
09138137
 RewriteEngine On
15de3ccd
 
cc7b53b3
 # moved to /docs/
d1decd5a
 RewriteRule ^faq(.*) /docs/faq$1 [R=301,L]
cc7b53b3
 RewriteRule ^bridges(.*) /docs/bridges$1 [R=301,L]
 RewriteRule ^abuse(.*) /docs/abuse$1 [R=301,L]
d0242121
 RewriteRule ^documentation(.*) /docs/documentation$1 [R=301,L]
cbf51cc6
 RewriteRule ^verifying-signatures(.*) /docs/verifying-signatures$1 [R=301,L]
642a35eb
 RewriteRule ^tor-manual(.*) /docs/tor-manual$1 [R=301,L]
15de3ccd
 
 # Torbutton
1b97e4b0
 RewriteRule ^torbutton/design(.*) /docs/torbutton/en/design$1 [R=301,L]
d75b10ae
 RewriteRule ^torbutton/(.*) /docs/torbutton/$1 [R=301,L]
61dff867
 
 # Tor Browser
c032217c
 RewriteRule ^torbrowser/dist/(.*) /dist/torbrowser/$1 [R=301,L]
1b97e4b0
 #RewriteRule ^torbrowser/$ /projects/torbrowser.html.en [R=301,L]
 RewriteRule ^torbrowser(.*) /projects/torbrowser.html.en [R=301,L]
61dff867
 
f86accbb
 # tordnsel
 RewriteRule ^tordnsel/dist/(.*) /dist/tordnsel/$1 [R=301,L]
 
61dff867
 # Overview
c032217c
 RewriteRule ^overview(.*) /about/overview$1 [R=301,L]
6795f7c0
 
5d2a2d42
 # Press
ce905ac8
 RewriteRule ^press/$ /press/press [R=301,L]
c032217c
 RewriteRule ^press/index.html(.*) /press/press.html$1 [R=301,L]
3a1f8db3
 
5d2a2d42
 # Projects
ce905ac8
 RewriteRule ^projects/$ /projects/projects [R=301,L]
5d2a2d42
 
d313e036
 #Pluggable Transports
40a25260
 RewriteRule ^PT/?$ /docs/pluggable-transports [R=301,L]
9ed889a6
 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]
d313e036
 
feb0abda
 #Relays
 RewriteRule ^relay-guide(.*) https://trac.torproject.org/projects/tor/wiki/TorRelayGuide [R=301,L]
 
5d2a2d42
 # GetInvolved
ce905ac8
 RewriteRule ^getinvolved/$ /getinvolved/volunteer [R=301,L]
5d2a2d42
 RewriteRule ^volunteer(.*) /getinvolved/volunteer$1 [R=301,L]
f9229147
 RewriteRule ^tshirt(.*) /getinvolved/tshirt$1 [R=301,L]
19b4373a
 
5939dcfe
 RewriteRule ^research(.*) https://research.torproject.org/ [R=301,L]
 RewriteRule ^getinvolved/research(.*) https://research.torproject.org/ [R=301,L]
 
ee25281d
 # Support
 RewriteRule ^support(.*) https://trac.torproject.org/projects/tor/wiki/org/teams/CommunityTeam/Support [R=301,L]
 
921f3a27
 # Newsletter
58fc9a9a
 RewriteRule ^newsletter(.*) https://newsletter.torproject.org [R=301,L]
921f3a27
 
19b4373a
 # other (feel free to categorize)
379df7a0
 RewriteRule ^people(.*) /about/corepeople$1 [R=301,L]
ff26816e
 RewriteRule ^donate/$ https://donate.torproject.org [R=302,L]
fb3117ff
 RewriteRule ^contact(.*) /about/contact$1 [R=301,L]
57a0c7cf
 
 # Download websites
 RewriteRule ^download/$ /download/download [R=301,L]
 RewriteRule ^download.html(.*) /download/download.html$1 [R=301,L]
2e89f403
 RewriteRule ^easy-download(.*) /download/download-easy$1 [R=301,L]
cc7b53b3
 
2f003a02
 # Relays
f61b9693
 RewriteRule ^relays(.*) /getinvolved/relays [R=301,L]
1c3f8602
 
94454cc9
 # 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]
 
4771d7fe
 # Donation campaign
db6c5b9c
 # 2017
ff8816df
 # Special-case the donate-options and amazon page so it doesn't get redirected
b045e32c
 RewriteRule ^donate/donate-options(.*) /donate/donate-options$1 [END]
ff8816df
 RewriteRule ^donate/donate-amazon(.*) /donate/donate-amazon$1 [END]
a4698546
 RewriteRule ^donate/donate(.*) https://donate.torproject.org [R=302,L]
db6c5b9c
 RewriteRule ^donate/donor-faq(.*) https://donate.torproject.org/donor-faq [R=302,L]
 RewriteRule ^donate/donor-privacy-policy(.*) https://donate.torproject.org/privacy-policy [R=302,L]
4771d7fe
 RewriteRule ^donate/thankyou(.*) https://donate.torproject.org/thank-you [R=302,L]
db6c5b9c
 RewriteRule ^thankyou(.*) https://donate.torproject.org/thank-you [R=302,L]
4febd93e
 
 # 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.
6e861cd4
 RewriteRule ^donate-email(.*) https://donate.torproject.org/ [R=302,L]