|
2 | 2 | # Redirect configuration file for Cloudflare pages |
3 | 3 | # -------------------------------------------------------- |
4 | 4 |
|
| 5 | +# Strip trailing slashes globally |
| 6 | +/*/ /:splat 301 |
| 7 | + |
5 | 8 | # Navitation to external pages |
6 | 9 | /aiidalab https://www.aiidalab.net/ 301 |
7 | 10 | /work/aiidalab https://www.aiidalab.net/ 301 |
8 | 11 | /archive https://archive.materialscloud.org/ 301 |
9 | 12 | /moderation https://archive.materialscloud.org/information#moderation_policies 301 |
10 | 13 | /work/quantum-mobile https://quantum-mobile.readthedocs.io/en/latest/ 301 |
11 | 14 |
|
12 | | -# Old file paths match new S3 307 means keep the headers and path |
| 15 | +# Old file paths match new S3 |
13 | 16 | /learn/data/learn/files/* https://rgw.cscs.ch/matcloud:mc-public/learn-data/files/:splat 302 |
14 | 17 |
|
15 | 18 | # dropping old url syntax |
|
41 | 44 | /discover/3dcd /discover/mc3d 301 |
42 | 45 | /discover/2dstructures /discover/mc2d 301 |
43 | 46 |
|
44 | | -# trailing slash names |
45 | | -/discover/mc3d/ /discover/mc3d 301 |
46 | | -/discover/mc2d/ /discover/mc2d 301 |
47 | | -/discover/sssp/ /discover/sssp 301 |
48 | | -/discover/acwf-verification/ /discover/acwf-verification 301 |
49 | | - |
50 | | - |
51 | 47 | # Contributed sections |
52 | | -# /discover/2dtopo https://legacy.materialscloud.org/discover/2dtopo 302 // migrated into mc2d with standalone page |
| 48 | +/discover/2dtopo https://legacy.materialscloud.org/discover/2dtopo 302 |
53 | 49 | /discover/autowannier https://legacy.materialscloud.org/discover/autowannier 302 |
54 | 50 |
|
55 | 51 | /discover/kpcovr https://kpcovr.materialscloud.io/ 302 |
56 | 52 | /discover/kpcovr/:dataset https://kpcovr.materialscloud.io/?dataset=:dataset 302 |
57 | 53 |
|
58 | 54 |
|
59 | | - |
60 | | - |
61 | 55 | # -------------- Tools -------------- |
62 | 56 |
|
63 | 57 | # Core tools |
|
86 | 80 | /tbeta /work/tools/tbeta 301 |
87 | 81 | /layer-raman-ir /work/tools/layer-raman-ir 301 |
88 | 82 |
|
89 | | -/work/tools/shiftml* https://shiftml.materialscloud.io/ 301 |
90 | | - |
91 | | - |
92 | 83 | # -------------- OPTIMADE APIs -------------- |
93 | 84 | /optimade https://optimade.materialscloud.org 301 |
94 | 85 | /optimade/main https://optimade.materialscloud.org/main/index/links 301 |
|
0 commit comments