forked from withastro/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_redirects
61 lines (58 loc) · 4.28 KB
/
_redirects
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
54
55
56
57
58
59
60
61
# Moved content
# When moving a page, usually you’ll want to add a redirect to the bottom of this block.
/:lang/install/auto /:lang/install-and-setup/
/:lang/install/manual /:lang/install-and-setup/
/:lang/core-concepts/project-structure /:lang/basics/project-structure/
/:lang/core-concepts/astro-components /:lang/basics/astro-components/
/:lang/core-concepts/astro-pages /:lang/basics/astro-pages/
/:lang/core-concepts/layouts /:lang/basics/layouts/
/:lang/core-concepts/astro-syntax /:lang/basics/astro-syntax/
/:lang/core-concepts/rendering-modes /:lang/guides/on-demand-rendering/
/:lang/core-concepts/routing /:lang/guides/routing/
/:lang/core-concepts/endpoints /:lang/guides/endpoints/
/:lang/core-concepts/framework-components /:lang/guides/framework-components/
/:lang/core-concepts/sharing-state /:lang/recipes/sharing-state-islands/
/:lang/reference/dev-overlay-plugin-reference /:lang/reference/dev-toolbar-app-reference/
/:lang/core-concepts/partial-hydration /:lang/concepts/islands/
/:lang/guides/publish-to-npm /:lang/reference/publish-to-npm/
/:lang/concepts/mpa-vs-spa /:lang/concepts/why-astro/
/:lang/deploy/:service /:lang/guides/deploy/:service
/:lang/guides/deploy/layer-zero /:lang/guides/deploy/edgio/
/:lang/guides/client-side-routing /:lang/guides/view-transitions/
/:lang/guides/assets /:lang/guides/images/
/en/guides/aliases /en/guides/imports/#aliases
/:lang/guides/aliases /:lang/guides/imports/
/:lang/guides/integrations-guide/image /:lang/guides/images/
/:lang/migration/0.21.0 /:lang/guides/upgrade-to/v1/
/:lang/migrate /:lang/guides/upgrade-to/v1/
/:lang/recipes/studio /:lang/guides/astro-db/
/:lang/basics/rendering-modes/ /:lang/guides/on-demand-rendering/
/:lang/guides/server-side-rendering/ /:lang/guides/on-demand-rendering/
/:lang/guides/content/ /:lang/guides/markdown-content/
/:lang/community-resources/talks/ /:lang/recipes/
/:lang/community-resources/content/ /:lang/recipes/
/:lang/reference/components-reference/ /:lang/guides/syntax-highlighting/
/:lang/tutorials/add-content-collections/ /:lang/tutorial/6-islands/4/
/:lang/tutorials/add-view-transitions/ /:lang/guides/view-transitions/
/:lang/guides/rss/ /:lang/recipes/rss/
/:lang/basics/astro-syntax/ /:lang/reference/astro-syntax/
# Very old docs site redirects
# Once upon a time these URLs existed, so we try to keep them meaning something.
/reference/renderer-reference /en/reference/integrations-reference/
/en/reference/renderer-reference /en/reference/integrations-reference/
/en/core-concepts/component-hydration /en/concepts/islands/
/core-concepts/component-hydration /en/concepts/islands/
/core-concepts/collections /en/guides/content-collections/
/:lang/core-concepts/collections /:lang/guides/content-collections/
/en/getting-started/quick-start /en/install-and-setup/
/docs/* /:splat
/:lang/docs/* /:lang/:splat
/comparing-astro-vs-other-tools /en/guides/migrate-to-astro/
/:lang/comparing-astro-vs-other-tools /:lang/guides/migrate-to-astro/
/lighthouse/* /en/guides/migrate-to-astro/
/en/guides/debugging /en/guides/troubleshooting/
/en/quick-started /en/installation/
# Redirect root to English homepage
/ /en/getting-started/
# Translated 404s
/:lang/* /:lang/404/ 404