Browse Source

moved redirects to local htaccess

svn path=/trunk/; revision=34433
tags/stw2018
paul 2 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
30 30
 
31 31
 ## === MOVED PAGES ===
32 32
 
33
-RewriteRule	^about/printable/(printable|index)?$		/contribute/spreadtheword	[redirect=permanent]
34
-RewriteRule	^about/printable/printable(\.[a-z][a-z]\.html)$	/contribute/spreadtheword$1	[redirect=permanent]
35
-RewriteRule	^about/printable/index(\.[a-z][a-z]\.html)$	/contribute/spreadtheword$1	[redirect=permanent]
36
-
37 33
 # Redirections for IloveFS campaign
38 34
 RewriteRule ^campaigns/ilovefs/ilovefs(.*)html$ /campaigns/ilovefs/index$1html [redirect=permanent]
39 35
 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]
8 8
 # moved here from ../.htaccess because it was ignored there
9 9
 RewriteRule ^basics/gnuproject(.*) /freesoftware/basics/gnuproject$1 [redirect=permanent]   # FIXME
10 10
 
11
+RewriteRule     ^printable/printable(\.[a-z][a-z]\.html)$ /contribute/spreadtheword$1     [redirect=permanent]
12
+RewriteRule     ^printable/index(\.[a-z][a-z]\.html)$     /contribute/spreadtheword$1     [redirect=permanent]
13
+RewriteRule     ^printable/(printable|index)?$            /contribute/spreadtheword       [redirect=permanent]

Loading…
Cancel
Save