aboutsummaryrefslogtreecommitdiff
path: root/website/extra/htaccess
blob: ea53d49cd3c0a54b6e3d0cf79b50674d645b681d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
RewriteEngine On

RewriteRule ^$ /main.html [L,END]
RewriteRule ^(index|home)(\.html)?$ / [NC,R=301]

RewriteRule ^setup/overview$ /setup/main.html [L,END]
RewriteRule ^setup/main(\.html)?$ /setup/overview [NC,R=301]
RewriteRule ^setup/index(\.html)?$ /setup/overview [NC,R=301]
RewriteRule ^setup(/(overview)?)?$ /setup/overview [NC,R=301]

RewriteRule ^changelog$ /changelog.html [L,END]
RewriteRule ^changelog(\.html)?$ /changelog [NC,R=301]
RewriteRule ^credits$ /credits.html [L,END]
RewriteRule ^credits(\.html)?$ /credits [NC,R=301]
RewriteRule ^download$ /download.html [L,END]
RewriteRule ^download(\.html)?$ /download [NC,R=301]
RewriteRule ^download-edge$ /download-edge.html [L,END]
RewriteRule ^download-edge(\.html)?$ /download-edge [NC,R=301]
RewriteRule ^all-versions$ /all-versions.html [L,END]
RewriteRule ^all-versions(\.html)?$ /all-versions [NC,R=301]
RewriteRule ^all-versions$ /all-versions.html [L,END]
RewriteRule ^all-versions(\.html)?$ /all-versions [NC,R=301]
RewriteRule ^disable-checked-exceptions$ /disable-checked-exceptions.html [L,END]
RewriteRule ^disable-checked-exceptions(\.html)?$ /disable-checked-exceptions [NC,R=301]
RewriteRule ^contributing$ /contributing.html [L,END]
RewriteRule ^contributing(\.html)?$ /contributing [NC,R=301]

<#list setupPages as pg>
RewriteRule ^setup/${pg?no_esc}$ /setup/${pg?no_esc}.html [L,END]
RewriteRule ^setup/${pg?no_esc}(\.html)?$ /setup/${pg?no_esc} [NC,R=301]
</#list>

RewriteRule ^features/all$ /features/index.html [L,END]
RewriteRule ^features(/all)?$ /features/all [NC,R=301]
RewriteRule ^features/index(\.html)?$ /features/all [NC,R=301]

<#list featurePages as pg>
RewriteRule ^features/${pg?no_esc}$ /features/${pg?no_esc}.html [L,END]
RewriteRule ^features/${pg?no_esc}(\.html)?$ /features/${pg?no_esc} [NC,R=301]
</#list>

RewriteRule ^features/experimental/Builder(\.html)?$ /features/Builder [NC,R=301]
RewriteRule ^features/experimental/Value(\.html)?$ /features/Value [NC,R=301]
RewriteRule ^features/experimental/var(\.html)?$ /features/var [NC,R=301]

RewriteRule ^features/experimental/all$ /features/experimental/index.html [L,END]
RewriteRule ^features/experimental(/all)?$ /features/experimental/all [NC,R=301]
RewriteRule ^features/experimental/index(\.html)?$ /features/experimental/all [NC,R=301]

<#list experimentalPages as pg>
RewriteRule ^features/experimental/${pg?no_esc}$ /features/experimental/${pg?no_esc}.html [L,END]
RewriteRule ^features/experimental/${pg?no_esc}(\.html)?$ /features/experimental/${pg?no_esc} [NC,R=301]
</#list>