Browse Source

moved redirects to local htaccess

svn path=/trunk/; revision=34433
tags/stw2018
paul 3 years ago
parent
commit
df66688bf0
2 changed files with 3 additions and 4 deletions
  1. 0
    4
      .htaccess
  2. 3
    0
      about/.htaccess

+ 0
- 4
.htaccess View File

@@ -30,10 +30,6 @@ RewriteRule ^15(/.*)?$ https://fsfe.org/campaigns/15years/15years$1 [redirect=p

## === MOVED PAGES ===

RewriteRule ^about/printable/(printable|index)?$ /contribute/spreadtheword [redirect=permanent]
RewriteRule ^about/printable/printable(\.[a-z][a-z]\.html)$ /contribute/spreadtheword$1 [redirect=permanent]
RewriteRule ^about/printable/index(\.[a-z][a-z]\.html)$ /contribute/spreadtheword$1 [redirect=permanent]

# Redirections for IloveFS campaign
RewriteRule ^campaigns/ilovefs/ilovefs(.*)html$ /campaigns/ilovefs/index$1html [redirect=permanent]
RewriteRule ^campaigns/ilovefs((/?)|(/[^/]*).html)$ /campaigns/ilovefs/2016$1 [redirect=permanent] # UPDATE year

+ 3
- 0
about/.htaccess View File

@@ -8,3 +8,6 @@ RewriteRule ^oriordan - [G,L]
# moved here from ../.htaccess because it was ignored there
RewriteRule ^basics/gnuproject(.*) /freesoftware/basics/gnuproject$1 [redirect=permanent] # FIXME

RewriteRule ^printable/printable(\.[a-z][a-z]\.html)$ /contribute/spreadtheword$1 [redirect=permanent]
RewriteRule ^printable/index(\.[a-z][a-z]\.html)$ /contribute/spreadtheword$1 [redirect=permanent]
RewriteRule ^printable/(printable|index)?$ /contribute/spreadtheword [redirect=permanent]

Loading…
Cancel
Save