Source files of fsfe.org, pdfreaders.org, freeyourandroid.org, ilovefs.org, drm.info, and test.fsfe.org. Contribute: https://fsfe.org/contribute/web/ https://fsfe.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
4.6KB

  1. RewriteEngine On
  2. RewriteRule ^favicon.ico /graphics/fsfe.ico [redirect=permanent]
  3. RewriteRule ^graphics/fsfeurope.ico /graphics/fsfe.ico [redirect=permanent]
  4. RewriteRule ^(.*)\.no.html /$1.nb.html [redirect=permanent]
  5. RewriteRule ^(.*)\.no.rss /$1.nb.rss [redirect=permanent]
  6. RewriteRule ^contact/press(.*) /press/press$1 [redirect=permanent]
  7. RewriteRule ^standards(.*) /projects/os$1 [redirect=permanent]
  8. RewriteRule ^education(.*) /projects/education$1 [redirect=permanent]
  9. RewriteRule ^ftf(.*) /projects/ftf$1 [redirect=permanent]
  10. RewriteRule ^stacs(.*) /projects/stacs$1 [redirect=permanent]
  11. RewriteRule ^gbn(.*) /projects/gbn$1 [redirect=permanent]
  12. RewriteRule ^law/eucd/(.*) /projects/eucd$1 [redirect=permanent]
  13. RewriteRule ^law(.*) /projects/law$1 [redirect=permanent]
  14. RewriteRule ^swpat(.*) /projects/swpat$1 [redirect=permanent]
  15. RewriteRule ^donate.html /donate/donate.en.html [redirect=permanent]
  16. # New year's resolution in 2009.
  17. RewriteRule ^2009$ /news/2009/nyr.html [redirect=permanent]
  18. RewriteRule ^2009/$ /news/2009/nyr.html [redirect=permanent]
  19. # Help section redirs.
  20. RewriteRule ^help$ /contribute/ [redirect=permanent]
  21. RewriteRule ^help/$ /contribute/ [redirect=permanent]
  22. RewriteRule ^help/index(.*) /contribute/contribute$1 [redirect=permanent]
  23. RewriteRule ^help/help(.*) /contribute/contribute$1 [redirect=permanent]
  24. RewriteRule ^help/web\.(.*) /contribute/web/web.$1 [redirect=permanent]
  25. RewriteRule ^help/(.*) /donate/$1 [redirect=permanent]
  26. # Valentine campaign redirects.
  27. # 2010
  28. RewriteRule ^valentine-2010/(.*) /campaigns/valentine/2010/$1 [redirect=permanent]
  29. RewriteRule ^vd2010/(.*) /campaigns/valentine/2010/$1 [redirect=permanent]
  30. RewriteRule ^campaigns/vd2010/vd2010(.*) /campaigns/valentine/2010/valentine-2010$1 [redirect=permanent]
  31. RewriteRule ^campaigns/valentine-2010/vd2010(.*) /campaigns/valentine/2010/valentine-2010$1 [redirect=permanent]
  32. RewriteRule ^campaigns/valentine-2010/(.*).png /campaigns/valentine/$1.png [redirect=permanent]
  33. RewriteRule ^campaigns/valentine-2010/(.*).svg /campaigns/valentine/$1.svg [redirect=permanent]
  34. RewriteRule ^campaigns/vd2010/(.*) /campaigns/valentine/2010/$1 [redirect=permanent]
  35. RewriteRule ^campaigns/vd2010 /campaigns/valentine/2010/valentine-2010 [redirect=permanent]
  36. # current
  37. RewriteRule ^valentine/valentine(.*) /campaigns/valentine/2011/valentine-2011$1 [redirect=permanent]
  38. # trying fix the dirty hack redirection loop from 2011-06-30
  39. RewriteRule ^campaigns/valentine(/?)$ /campaigns/valentine/2011/valentine-2011 [redirect=temp]
  40. RewriteRule ^campaigns/valentine/2011(/?)$ /campaigns/valentine/2011/valentine-2011 [redirect=temp]
  41. # AskYourCandidates redirect
  42. RewriteRule ^campaigns/ayc(.*) /campaigns/askyourcandidates$1 [redirect=permanent]
  43. # Redirection for IloveFS campaign. Should always redirect to the most recent year
  44. RewriteRule ^campaigns/ilovefs(/)?$ /campaigns/ilovefs/2012/ilovefs.html
  45. RewriteRule ^campaigns/ilovefs/ilovefs(.*)html$ /campaigns/ilovefs/2012/ilovefs$1html
  46. # Temporary fix unitl we have a /freesoftware dir for contribute/advocacy/cwfs.en.html
  47. RewriteRule ^freesoftware/freesoftware(.*) /about/basics/freesoftware$1 [redirect=temp]
  48. # Rewrite for dead links to gnupg-ccid stuff
  49. RewriteRule ^en/content/download/17665/125518/file/gnupg-ccid.rules http://wiki.fsfe.org/Card_howtos/Card_reader_setup_(udev)?action=AttachFile&do=view&target=gnupg-ccid.rules [redirect=permanent]
  50. RewriteRule ^en/content/download/15872/77909/file/gnupg-ccid http://wiki.fsfe.org/Card_howtos/Card_reader_setup_(udev)?action=AttachFile&do=view&target=gnupg-ccid [redirect=permanent]
  51. # Redirects to reduce 404's
  52. RewriteRule ^en/layout/set/rss/content/view/full/5116 http://blogs.fsfe.org/ciaran/?feed=rss2 [redirect=permanent]
  53. RewriteRule ^en/layout/set/rss/content/view/full/5009 http://blogs.fsfe.org/maffulli/?feed=rss2 [redirect=permanent]
  54. RewriteRule ^en/layout/set/rss/content/view/full/4972 http://blogs.fsfe.org/gerloff/?feed=rss2 [redirect=permanent]
  55. RewriteRule ^en/layout/set/rss/content/view/full/5971 http://blogs.fsfe.org/jj/?feed=rss2 [redirect=permanent]
  56. RewriteRule ^en/layout/set/rss/content/view/full/6128 http://blogs.fsfe.org/jj/?feed=rss2 [redirect=permanent]
  57. RewriteRule ^en/layout/set/rss/content/view/full/4974 http://blogs.fsfe.org/greve/?feed=rss2 [redirect=permanent]
  58. RewriteRule ^en/news http://fsfe.org/news/ [redirect=permanent]
  59. RewriteRule ^people/greve /about/greve/ [redirect=permanent]
  60. RewriteRule ^projects/fellowship http://fellowship.fsfe.org [redirect=permanent]
  61. RewriteRule ^en/rss/feed/news.xml /news/news.en.rss [redirect=permanent]
  62. RewriteRule ^en/rss/feed/events.xml /events/events.en.rss [redirect=permanent]
  63. RewriteRule ^news/fsfe-fr-channel.fr.xml /news/news.fr.rss [redirect=permanent]