-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path_redirects
More file actions
48 lines (41 loc) · 2.99 KB
/
Copy path_redirects
File metadata and controls
48 lines (41 loc) · 2.99 KB
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
# ebiten.org has moved to ebitengine.org.
#
# Cloudflare Pages serves server-side 301 redirects from these rules.
#
# Rules are evaluated top to bottom; the first match wins, so the specific
# entries must precede the wildcards, and the catch-all must come last.
# documents/ pages that were reorganized into tour/ on the new site.
/documents/fill.html https://ebitengine.org/en/tour/fill 301
/documents/fill https://ebitengine.org/en/tour/fill 301
/documents/geometrymatrix.html https://ebitengine.org/en/tour/geom 301
/documents/geometrymatrix https://ebitengine.org/en/tour/geom 301
/documents/helloworld.html https://ebitengine.org/en/tour/hello_world 301
/documents/helloworld https://ebitengine.org/en/tour/hello_world 301
/documents/renderimage.html https://ebitengine.org/en/tour/image 301
/documents/renderimage https://ebitengine.org/en/tour/image 301
# documents/ pages removed from the new site -> new site root.
/documents/gopherjs.html https://ebitengine.org/ 301
/documents/gopherjs https://ebitengine.org/ 301
/documents/packages.html https://ebitengine.org/ 301
/documents/packages https://ebitengine.org/ 301
# Directory indexes -> trailing-slash form on the new site.
/blog/index.html https://ebitengine.org/en/blog/ 301
/blog/ https://ebitengine.org/en/blog/ 301
/documents/index.html https://ebitengine.org/en/documents/ 301
/documents/ https://ebitengine.org/en/documents/ 301
/examples/index.html https://ebitengine.org/en/examples/ 301
/examples/ https://ebitengine.org/en/examples/ 301
/tour/index.html https://ebitengine.org/en/tour/ 301
/tour/ https://ebitengine.org/en/tour/ 301
# Section wildcards -> same path under /en/ on the new site.
/blog/* https://ebitengine.org/en/blog/:splat 301
/documents/* https://ebitengine.org/en/documents/:splat 301
/examples/* https://ebitengine.org/en/examples/:splat 301
/tour/* https://ebitengine.org/en/tour/:splat 301
/contact.html https://ebitengine.org/en/contact 301
/contact https://ebitengine.org/en/contact 301
# Non-HTML resources -> same paths on the new site.
/images/* https://ebitengine.org/images/:splat 301
/styles/* https://ebitengine.org/styles/:splat 301
# Home, 404s, and any stray path -> new site root.
/* https://ebitengine.org/ 301