# Redirects for legacy URLs and routes the site no longer serves directly.

# The api reference and the runner docs are separate products, published in
# english only. Docusaurus served an empty localized copy of them.
/zh-cn/api/* /api/:splat 301
/zh-tw/api/* /api/:splat 301
/zh-cn/runner/* /runner/:splat 301
/zh-tw/runner/* /runner/:splat 301

# The version served at the root of a product is also reachable under its
# number, which is what the release notes and old links use.
/api/1.27/* /api/:splat 301
/runner/3/* /runner/:splat 301
/1.27/* /:splat 301

# The local search plugin had a results page of its own, algolia docsearch is a
# modal opened from any page.
/search /  301
/zh-cn/search /zh-cn/ 301
/zh-tw/search /zh-tw/ 301

# Pages that moved when the docs were reorganized: the flat `/usage/webhooks`,
# `/advanced/...` and `/developers/...` layout of 1.19 and 1.20, and
# `/help/seek-help`. Those urls kept working until the site moved to Cloudflare
# because it was published with `aws s3 sync` without `--delete`, so the pages
# built before the move were never removed from the bucket. Only what the build
# emits is served now, and gitea itself and blog.gitea.com still link to some of
# them, so they are redirected here.
/actions                                          /usage/actions/ 301
/actions/                                         /usage/actions/ 301
/administration                                   /category/administration/ 301
/administration/                                  /category/administration/ 301
/administration/logging-configuration             /administration/logging-config/ 301
/advanced/adding-legal-pages                      /administration/adding-legal-pages/ 301
/advanced/clone-filters                           /usage/repository/clone-filters/ 301
/advanced/cmd-embedded                            /administration/cmd-embedded/ 301
/advanced/config-cheat-sheet                      /administration/config-cheat-sheet/ 301
/advanced/customizing-gitea                       /administration/customizing-gitea/ 301
/advanced/environment-variables                   /administration/environment-variables/ 301
/advanced/external-renderers                      /administration/external-renderers/ 301
/advanced/logging-configuration                   /administration/logging-config/ 301
/advanced/mail-templates                          /administration/mail-templates/ 301
/advanced/protected-tags                          /usage/access-control/protected-tags/ 301
/advanced/repo-indexer                            /administration/repo-indexer/ 301
/advanced/repo-mirror                             /usage/repository/repo-mirror/ 301
/advanced/search-engines-indexation               /administration/search-engines-indexation/ 301
/advanced/signing                                 /administration/signing/ 301
/developers/api-usage                             /development/api-usage/ 301
/developers/integrations                          /development/integrations/ 301
/developers/migrations-interfaces                 /development/migrations-interfaces/ 301
/developers/oauth2-provider                       /development/oauth2-provider/ 301
/development                                      /category/development/ 301
/development/                                     /category/development/ 301
/features/authentication                          /administration/authentication/ 301
/features/comparison                              /installation/comparison/ 301
/features/webhooks                                /usage/repository/webhooks/ 301
/help                                             /category/help/ 301
/help/                                            /category/help/ 301
/help/seek-help                                   /help/support/ 301
/installation                                     /category/installation/ 301
/installation/                                    /category/installation/ 301
/installation/upgrade-from-gogs                   /category/installation/ 301
/upgrade/upgrade-from-gitea                       /installation/upgrade-from-gitea/ 301
/upgrade/upgrade-from-gogs                        /category/installation/ 301
/usage                                            /category/usage/ 301
/usage/                                           /category/usage/ 301
/usage/actions/act-runner                         /runner/ 301
/usage/agit                                       /usage/issues-prs/agit/ 301
/usage/agit-setup                                 /usage/issues-prs/agit/ 301
/usage/authentication                             /administration/authentication/ 301
/usage/automatically-linked-references            /usage/issues-prs/automatically-linked-references/ 301
/usage/badge                                      /usage/actions/badge/ 301
/usage/blame                                      /usage/repository/blame/ 301
/usage/blocking-user                              /usage/access-control/blocking-user/ 301
/usage/clone-filters                              /usage/repository/clone-filters/ 301
/usage/code-owners                                /usage/repository/code-owners/ 301
/usage/command-line                               /administration/command-line/ 301
/usage/email-setup                                /administration/email-setup/ 301
/usage/git-lfs-setup                              /administration/git-lfs-setup/ 301
/usage/https-setup                                /administration/https-setup/ 301
/usage/incoming-email                             /usage/repository/incoming-email/ 301
/usage/issue-pull-request-templates               /usage/issues-prs/issue-pull-request-templates/ 301
/usage/labels                                     /usage/issues-prs/labels/ 301
/usage/markdown                                   /usage/repository/markdown/ 301
/usage/merge-message-templates                    /usage/issues-prs/merge-message-templates/ 301
/usage/migration                                  /usage/repository/migration/ 301
/usage/multi-factor-authentication                /usage/user-setting/multi-factor-authentication/ 301
/usage/permissions                                /usage/access-control/permissions/ 301
/usage/profile-readme                             /usage/repository/profile-readme/ 301
/usage/protected-tags                             /usage/access-control/protected-tags/ 301
/usage/pull-request                               /usage/issues-prs/pull-request/ 301
/usage/push                                       /usage/repository/push/ 301
/usage/push-options                               /usage/repository/push/ 301
/usage/push-to-create                             /usage/repository/push/ 301
/usage/repo-mirror                                /usage/repository/repo-mirror/ 301
/usage/secrets                                    /usage/actions/secrets/ 301
/usage/template-repositories                      /usage/repository/template-repositories/ 301
/usage/webhooks                                   /usage/repository/webhooks/ 301

# ... and under simplified chinese.
/zh-cn/actions                                    /zh-cn/usage/actions/ 301
/zh-cn/actions/                                   /zh-cn/usage/actions/ 301
/zh-cn/administration                             /zh-cn/category/administration/ 301
/zh-cn/administration/                            /zh-cn/category/administration/ 301
/zh-cn/administration/logging-configuration       /zh-cn/administration/logging-config/ 301
/zh-cn/advanced/adding-legal-pages                /zh-cn/administration/adding-legal-pages/ 301
/zh-cn/advanced/clone-filters                     /zh-cn/usage/repository/clone-filters/ 301
/zh-cn/advanced/cmd-embedded                      /zh-cn/administration/cmd-embedded/ 301
/zh-cn/advanced/config-cheat-sheet                /zh-cn/administration/config-cheat-sheet/ 301
/zh-cn/advanced/customizing-gitea                 /zh-cn/administration/customizing-gitea/ 301
/zh-cn/advanced/environment-variables             /zh-cn/administration/environment-variables/ 301
/zh-cn/advanced/external-renderers                /zh-cn/administration/external-renderers/ 301
/zh-cn/advanced/logging-configuration             /zh-cn/administration/logging-config/ 301
/zh-cn/advanced/mail-templates                    /zh-cn/administration/mail-templates/ 301
/zh-cn/advanced/protected-tags                    /zh-cn/usage/access-control/protected-tags/ 301
/zh-cn/advanced/repo-indexer                      /zh-cn/administration/repo-indexer/ 301
/zh-cn/advanced/repo-mirror                       /zh-cn/usage/repository/repo-mirror/ 301
/zh-cn/advanced/search-engines-indexation         /zh-cn/administration/search-engines-indexation/ 301
/zh-cn/advanced/signing                           /zh-cn/administration/signing/ 301
/zh-cn/developers/api-usage                       /zh-cn/development/api-usage/ 301
/zh-cn/developers/integrations                    /zh-cn/development/integrations/ 301
/zh-cn/developers/migrations-interfaces           /zh-cn/development/migrations-interfaces/ 301
/zh-cn/developers/oauth2-provider                 /zh-cn/development/oauth2-provider/ 301
/zh-cn/development                                /zh-cn/category/development/ 301
/zh-cn/development/                               /zh-cn/category/development/ 301
/zh-cn/features/authentication                    /zh-cn/administration/authentication/ 301
/zh-cn/features/comparison                        /zh-cn/installation/comparison/ 301
/zh-cn/features/webhooks                          /zh-cn/usage/repository/webhooks/ 301
/zh-cn/help                                       /zh-cn/category/help/ 301
/zh-cn/help/                                      /zh-cn/category/help/ 301
/zh-cn/help/seek-help                             /zh-cn/help/support/ 301
/zh-cn/installation                               /zh-cn/category/installation/ 301
/zh-cn/installation/                              /zh-cn/category/installation/ 301
/zh-cn/installation/upgrade-from-gogs             /zh-cn/category/installation/ 301
/zh-cn/upgrade/upgrade-from-gitea                 /zh-cn/installation/upgrade-from-gitea/ 301
/zh-cn/upgrade/upgrade-from-gogs                  /zh-cn/category/installation/ 301
/zh-cn/usage                                      /zh-cn/category/usage/ 301
/zh-cn/usage/                                     /zh-cn/category/usage/ 301
/zh-cn/usage/actions/act-runner                   /runner/ 301
/zh-cn/usage/agit-setup                           /zh-cn/usage/issues-prs/agit/ 301
/zh-cn/usage/authentication                       /zh-cn/administration/authentication/ 301
/zh-cn/usage/automatically-linked-references      /zh-cn/usage/issues-prs/automatically-linked-references/ 301
/zh-cn/usage/badge                                /zh-cn/usage/actions/badge/ 301
/zh-cn/usage/blame                                /zh-cn/usage/repository/blame/ 301
/zh-cn/usage/blocking-user                        /zh-cn/usage/access-control/blocking-user/ 301
/zh-cn/usage/clone-filters                        /zh-cn/usage/repository/clone-filters/ 301
/zh-cn/usage/code-owners                          /zh-cn/usage/repository/code-owners/ 301
/zh-cn/usage/command-line                         /zh-cn/administration/command-line/ 301
/zh-cn/usage/email-setup                          /zh-cn/administration/email-setup/ 301
/zh-cn/usage/git-lfs-setup                        /zh-cn/administration/git-lfs-setup/ 301
/zh-cn/usage/https-setup                          /zh-cn/administration/https-setup/ 301
/zh-cn/usage/incoming-email                       /zh-cn/usage/repository/incoming-email/ 301
/zh-cn/usage/issue-pull-request-templates         /zh-cn/usage/issues-prs/issue-pull-request-templates/ 301
/zh-cn/usage/labels                               /zh-cn/usage/issues-prs/labels/ 301
/zh-cn/usage/markdown                             /zh-cn/usage/repository/markdown/ 301
/zh-cn/usage/merge-message-templates              /zh-cn/usage/issues-prs/merge-message-templates/ 301
/zh-cn/usage/migration                            /zh-cn/usage/repository/migration/ 301
/zh-cn/usage/multi-factor-authentication          /zh-cn/usage/user-setting/multi-factor-authentication/ 301
/zh-cn/usage/permissions                          /zh-cn/usage/access-control/permissions/ 301
/zh-cn/usage/profile-readme                       /zh-cn/usage/repository/profile-readme/ 301
/zh-cn/usage/protected-tags                       /zh-cn/usage/access-control/protected-tags/ 301
/zh-cn/usage/pull-request                         /zh-cn/usage/issues-prs/pull-request/ 301
/zh-cn/usage/push                                 /zh-cn/usage/repository/push/ 301
/zh-cn/usage/push-options                         /zh-cn/usage/repository/push/ 301
/zh-cn/usage/push-to-create                       /zh-cn/usage/repository/push/ 301
/zh-cn/usage/repo-mirror                          /zh-cn/usage/repository/repo-mirror/ 301
/zh-cn/usage/secrets                              /zh-cn/usage/actions/secrets/ 301
/zh-cn/usage/template-repositories                /zh-cn/usage/repository/template-repositories/ 301
/zh-cn/usage/webhooks                             /zh-cn/usage/repository/webhooks/ 301

# ... and under traditional chinese.
/zh-tw/actions                                    /zh-tw/usage/actions/ 301
/zh-tw/actions/                                   /zh-tw/usage/actions/ 301
/zh-tw/administration                             /zh-tw/category/administration/ 301
/zh-tw/administration/                            /zh-tw/category/administration/ 301
/zh-tw/administration/logging-configuration       /zh-tw/administration/logging-config/ 301
/zh-tw/advanced/adding-legal-pages                /zh-tw/administration/adding-legal-pages/ 301
/zh-tw/advanced/clone-filters                     /zh-tw/usage/repository/clone-filters/ 301
/zh-tw/advanced/cmd-embedded                      /zh-tw/administration/cmd-embedded/ 301
/zh-tw/advanced/config-cheat-sheet                /zh-tw/administration/config-cheat-sheet/ 301
/zh-tw/advanced/customizing-gitea                 /zh-tw/administration/customizing-gitea/ 301
/zh-tw/advanced/environment-variables             /zh-tw/administration/environment-variables/ 301
/zh-tw/advanced/external-renderers                /zh-tw/administration/external-renderers/ 301
/zh-tw/advanced/logging-configuration             /zh-tw/administration/logging-config/ 301
/zh-tw/advanced/mail-templates                    /zh-tw/administration/mail-templates/ 301
/zh-tw/advanced/protected-tags                    /zh-tw/usage/access-control/protected-tags/ 301
/zh-tw/advanced/repo-indexer                      /zh-tw/administration/repo-indexer/ 301
/zh-tw/advanced/repo-mirror                       /zh-tw/usage/repository/repo-mirror/ 301
/zh-tw/advanced/search-engines-indexation         /zh-tw/administration/search-engines-indexation/ 301
/zh-tw/advanced/signing                           /zh-tw/administration/signing/ 301
/zh-tw/developers/api-usage                       /zh-tw/development/api-usage/ 301
/zh-tw/developers/integrations                    /zh-tw/development/integrations/ 301
/zh-tw/developers/migrations-interfaces           /zh-tw/development/migrations-interfaces/ 301
/zh-tw/developers/oauth2-provider                 /zh-tw/development/oauth2-provider/ 301
/zh-tw/development                                /zh-tw/category/development/ 301
/zh-tw/development/                               /zh-tw/category/development/ 301
/zh-tw/features/authentication                    /zh-tw/administration/authentication/ 301
/zh-tw/features/comparison                        /zh-tw/installation/comparison/ 301
/zh-tw/features/webhooks                          /zh-tw/usage/repository/webhooks/ 301
/zh-tw/help                                       /zh-tw/category/help/ 301
/zh-tw/help/                                      /zh-tw/category/help/ 301
/zh-tw/help/seek-help                             /zh-tw/help/support/ 301
/zh-tw/installation                               /zh-tw/category/installation/ 301
/zh-tw/installation/                              /zh-tw/category/installation/ 301
/zh-tw/installation/upgrade-from-gogs             /zh-tw/category/installation/ 301
/zh-tw/upgrade/upgrade-from-gitea                 /zh-tw/installation/upgrade-from-gitea/ 301
/zh-tw/upgrade/upgrade-from-gogs                  /zh-tw/category/installation/ 301
/zh-tw/usage                                      /zh-tw/category/usage/ 301
/zh-tw/usage/                                     /zh-tw/category/usage/ 301
/zh-tw/usage/actions/act-runner                   /runner/ 301
/zh-tw/usage/agit-setup                           /zh-tw/usage/issues-prs/agit/ 301
/zh-tw/usage/authentication                       /zh-tw/administration/authentication/ 301
/zh-tw/usage/automatically-linked-references      /zh-tw/usage/issues-prs/automatically-linked-references/ 301
/zh-tw/usage/badge                                /zh-tw/usage/actions/badge/ 301
/zh-tw/usage/blame                                /zh-tw/usage/repository/blame/ 301
/zh-tw/usage/blocking-user                        /zh-tw/usage/access-control/blocking-user/ 301
/zh-tw/usage/clone-filters                        /zh-tw/usage/repository/clone-filters/ 301
/zh-tw/usage/code-owners                          /zh-tw/usage/repository/code-owners/ 301
/zh-tw/usage/command-line                         /zh-tw/administration/command-line/ 301
/zh-tw/usage/email-setup                          /zh-tw/administration/email-setup/ 301
/zh-tw/usage/git-lfs-setup                        /zh-tw/administration/git-lfs-setup/ 301
/zh-tw/usage/https-setup                          /zh-tw/administration/https-setup/ 301
/zh-tw/usage/incoming-email                       /zh-tw/usage/repository/incoming-email/ 301
/zh-tw/usage/issue-pull-request-templates         /zh-tw/usage/issues-prs/issue-pull-request-templates/ 301
/zh-tw/usage/labels                               /zh-tw/usage/issues-prs/labels/ 301
/zh-tw/usage/markdown                             /zh-tw/usage/repository/markdown/ 301
/zh-tw/usage/merge-message-templates              /zh-tw/usage/issues-prs/merge-message-templates/ 301
/zh-tw/usage/migration                            /zh-tw/usage/repository/migration/ 301
/zh-tw/usage/multi-factor-authentication          /zh-tw/usage/user-setting/multi-factor-authentication/ 301
/zh-tw/usage/permissions                          /zh-tw/usage/access-control/permissions/ 301
/zh-tw/usage/protected-tags                       /zh-tw/usage/access-control/protected-tags/ 301
/zh-tw/usage/pull-request                         /zh-tw/usage/issues-prs/pull-request/ 301
/zh-tw/usage/push                                 /zh-tw/usage/repository/push/ 301
/zh-tw/usage/push-options                         /zh-tw/usage/repository/push/ 301
/zh-tw/usage/push-to-create                       /zh-tw/usage/repository/push/ 301
/zh-tw/usage/repo-mirror                          /zh-tw/usage/repository/repo-mirror/ 301
/zh-tw/usage/secrets                              /zh-tw/usage/actions/secrets/ 301
/zh-tw/usage/template-repositories                /zh-tw/usage/repository/template-repositories/ 301
/zh-tw/usage/webhooks                             /zh-tw/usage/repository/webhooks/ 301

# ... and under the develop version.
/next/actions                                     /next/usage/actions/ 301
/next/actions/                                    /next/usage/actions/ 301
/next/administration                              /next/category/administration/ 301
/next/administration/                             /next/category/administration/ 301
/next/administration/logging-configuration        /next/administration/logging-config/ 301
/next/advanced/adding-legal-pages                 /next/administration/adding-legal-pages/ 301
/next/advanced/clone-filters                      /next/usage/repository/clone-filters/ 301
/next/advanced/cmd-embedded                       /next/administration/cmd-embedded/ 301
/next/advanced/config-cheat-sheet                 /next/administration/config-cheat-sheet/ 301
/next/advanced/customizing-gitea                  /next/administration/customizing-gitea/ 301
/next/advanced/environment-variables              /next/administration/environment-variables/ 301
/next/advanced/external-renderers                 /next/administration/external-renderers/ 301
/next/advanced/logging-configuration              /next/administration/logging-config/ 301
/next/advanced/mail-templates                     /next/administration/mail-templates/ 301
/next/advanced/protected-tags                     /next/usage/access-control/protected-tags/ 301
/next/advanced/repo-indexer                       /next/administration/repo-indexer/ 301
/next/advanced/repo-mirror                        /next/usage/repository/repo-mirror/ 301
/next/advanced/search-engines-indexation          /next/administration/search-engines-indexation/ 301
/next/advanced/signing                            /next/administration/signing/ 301
/next/developers/api-usage                        /next/development/api-usage/ 301
/next/developers/integrations                     /next/development/integrations/ 301
/next/developers/migrations-interfaces            /next/development/migrations-interfaces/ 301
/next/developers/oauth2-provider                  /next/development/oauth2-provider/ 301
/next/development                                 /next/category/development/ 301
/next/development/                                /next/category/development/ 301
/next/features/authentication                     /next/administration/authentication/ 301
/next/features/comparison                         /next/installation/comparison/ 301
/next/features/webhooks                           /next/usage/repository/webhooks/ 301
/next/help                                        /next/category/help/ 301
/next/help/                                       /next/category/help/ 301
/next/help/seek-help                              /next/help/support/ 301
/next/installation                                /next/category/installation/ 301
/next/installation/                               /next/category/installation/ 301
/next/installation/upgrade-from-gogs              /next/category/installation/ 301
/next/upgrade/upgrade-from-gitea                  /next/installation/upgrade-from-gitea/ 301
/next/upgrade/upgrade-from-gogs                   /next/category/installation/ 301
/next/usage                                       /next/category/usage/ 301
/next/usage/                                      /next/category/usage/ 301
/next/usage/actions/act-runner                    /runner/ 301
/next/usage/agit                                  /next/usage/issues-prs/agit/ 301
/next/usage/agit-setup                            /next/usage/issues-prs/agit/ 301
/next/usage/authentication                        /next/administration/authentication/ 301
/next/usage/automatically-linked-references       /next/usage/issues-prs/automatically-linked-references/ 301
/next/usage/badge                                 /next/usage/actions/badge/ 301
/next/usage/blame                                 /next/usage/repository/blame/ 301
/next/usage/blocking-user                         /next/usage/access-control/blocking-user/ 301
/next/usage/clone-filters                         /next/usage/repository/clone-filters/ 301
/next/usage/code-owners                           /next/usage/repository/code-owners/ 301
/next/usage/command-line                          /next/administration/command-line/ 301
/next/usage/email-setup                           /next/administration/email-setup/ 301
/next/usage/git-lfs-setup                         /next/administration/git-lfs-setup/ 301
/next/usage/https-setup                           /next/administration/https-setup/ 301
/next/usage/incoming-email                        /next/usage/repository/incoming-email/ 301
/next/usage/issue-pull-request-templates          /next/usage/issues-prs/issue-pull-request-templates/ 301
/next/usage/labels                                /next/usage/issues-prs/labels/ 301
/next/usage/markdown                              /next/usage/repository/markdown/ 301
/next/usage/merge-message-templates               /next/usage/issues-prs/merge-message-templates/ 301
/next/usage/migration                             /next/usage/repository/migration/ 301
/next/usage/multi-factor-authentication           /next/usage/user-setting/multi-factor-authentication/ 301
/next/usage/permissions                           /next/usage/access-control/permissions/ 301
/next/usage/profile-readme                        /next/usage/repository/profile-readme/ 301
/next/usage/protected-tags                        /next/usage/access-control/protected-tags/ 301
/next/usage/pull-request                          /next/usage/issues-prs/pull-request/ 301
/next/usage/push                                  /next/usage/repository/push/ 301
/next/usage/push-options                          /next/usage/repository/push/ 301
/next/usage/push-to-create                        /next/usage/repository/push/ 301
/next/usage/repo-mirror                           /next/usage/repository/repo-mirror/ 301
/next/usage/secrets                               /next/usage/actions/secrets/ 301
/next/usage/template-repositories                 /next/usage/repository/template-repositories/ 301
/next/usage/webhooks                              /next/usage/repository/webhooks/ 301

# ... and under simplified chinese, develop.
/zh-cn/next/actions                               /zh-cn/next/usage/actions/ 301
/zh-cn/next/actions/                              /zh-cn/next/usage/actions/ 301
/zh-cn/next/administration                        /zh-cn/next/category/administration/ 301
/zh-cn/next/administration/                       /zh-cn/next/category/administration/ 301
/zh-cn/next/administration/logging-configuration  /zh-cn/next/administration/logging-config/ 301
/zh-cn/next/advanced/adding-legal-pages           /zh-cn/next/administration/adding-legal-pages/ 301
/zh-cn/next/advanced/clone-filters                /zh-cn/next/usage/repository/clone-filters/ 301
/zh-cn/next/advanced/cmd-embedded                 /zh-cn/next/administration/cmd-embedded/ 301
/zh-cn/next/advanced/config-cheat-sheet           /zh-cn/next/administration/config-cheat-sheet/ 301
/zh-cn/next/advanced/customizing-gitea            /zh-cn/next/administration/customizing-gitea/ 301
/zh-cn/next/advanced/environment-variables        /zh-cn/next/administration/environment-variables/ 301
/zh-cn/next/advanced/external-renderers           /zh-cn/next/administration/external-renderers/ 301
/zh-cn/next/advanced/logging-configuration        /zh-cn/next/administration/logging-config/ 301
/zh-cn/next/advanced/mail-templates               /zh-cn/next/administration/mail-templates/ 301
/zh-cn/next/advanced/protected-tags               /zh-cn/next/usage/access-control/protected-tags/ 301
/zh-cn/next/advanced/repo-indexer                 /zh-cn/next/administration/repo-indexer/ 301
/zh-cn/next/advanced/repo-mirror                  /zh-cn/next/usage/repository/repo-mirror/ 301
/zh-cn/next/advanced/search-engines-indexation    /zh-cn/next/administration/search-engines-indexation/ 301
/zh-cn/next/advanced/signing                      /zh-cn/next/administration/signing/ 301
/zh-cn/next/developers/api-usage                  /zh-cn/next/development/api-usage/ 301
/zh-cn/next/developers/integrations               /zh-cn/next/development/integrations/ 301
/zh-cn/next/developers/migrations-interfaces      /zh-cn/next/development/migrations-interfaces/ 301
/zh-cn/next/developers/oauth2-provider            /zh-cn/next/development/oauth2-provider/ 301
/zh-cn/next/development                           /zh-cn/next/category/development/ 301
/zh-cn/next/development/                          /zh-cn/next/category/development/ 301
/zh-cn/next/features/authentication               /zh-cn/next/administration/authentication/ 301
/zh-cn/next/features/comparison                   /zh-cn/next/installation/comparison/ 301
/zh-cn/next/features/webhooks                     /zh-cn/next/usage/repository/webhooks/ 301
/zh-cn/next/help                                  /zh-cn/next/category/help/ 301
/zh-cn/next/help/                                 /zh-cn/next/category/help/ 301
/zh-cn/next/help/seek-help                        /zh-cn/next/help/support/ 301
/zh-cn/next/installation                          /zh-cn/next/category/installation/ 301
/zh-cn/next/installation/                         /zh-cn/next/category/installation/ 301
/zh-cn/next/installation/upgrade-from-gogs        /zh-cn/next/category/installation/ 301
/zh-cn/next/upgrade/upgrade-from-gitea            /zh-cn/next/installation/upgrade-from-gitea/ 301
/zh-cn/next/upgrade/upgrade-from-gogs             /zh-cn/next/category/installation/ 301
/zh-cn/next/usage                                 /zh-cn/next/category/usage/ 301
/zh-cn/next/usage/                                /zh-cn/next/category/usage/ 301
/zh-cn/next/usage/actions/act-runner              /runner/ 301
/zh-cn/next/usage/agit-setup                      /zh-cn/next/usage/issues-prs/agit/ 301
/zh-cn/next/usage/authentication                  /zh-cn/next/administration/authentication/ 301
/zh-cn/next/usage/automatically-linked-references /zh-cn/next/usage/issues-prs/automatically-linked-references/ 301
/zh-cn/next/usage/badge                           /zh-cn/next/usage/actions/badge/ 301
/zh-cn/next/usage/blame                           /zh-cn/next/usage/repository/blame/ 301
/zh-cn/next/usage/blocking-user                   /zh-cn/next/usage/access-control/blocking-user/ 301
/zh-cn/next/usage/clone-filters                   /zh-cn/next/usage/repository/clone-filters/ 301
/zh-cn/next/usage/code-owners                     /zh-cn/next/usage/repository/code-owners/ 301
/zh-cn/next/usage/command-line                    /zh-cn/next/administration/command-line/ 301
/zh-cn/next/usage/email-setup                     /zh-cn/next/administration/email-setup/ 301
/zh-cn/next/usage/git-lfs-setup                   /zh-cn/next/administration/git-lfs-setup/ 301
/zh-cn/next/usage/https-setup                     /zh-cn/next/administration/https-setup/ 301
/zh-cn/next/usage/incoming-email                  /zh-cn/next/usage/repository/incoming-email/ 301
/zh-cn/next/usage/issue-pull-request-templates    /zh-cn/next/usage/issues-prs/issue-pull-request-templates/ 301
/zh-cn/next/usage/labels                          /zh-cn/next/usage/issues-prs/labels/ 301
/zh-cn/next/usage/markdown                        /zh-cn/next/usage/repository/markdown/ 301
/zh-cn/next/usage/merge-message-templates         /zh-cn/next/usage/issues-prs/merge-message-templates/ 301
/zh-cn/next/usage/migration                       /zh-cn/next/usage/repository/migration/ 301
/zh-cn/next/usage/multi-factor-authentication     /zh-cn/next/usage/user-setting/multi-factor-authentication/ 301
/zh-cn/next/usage/permissions                     /zh-cn/next/usage/access-control/permissions/ 301
/zh-cn/next/usage/profile-readme                  /zh-cn/next/usage/repository/profile-readme/ 301
/zh-cn/next/usage/protected-tags                  /zh-cn/next/usage/access-control/protected-tags/ 301
/zh-cn/next/usage/pull-request                    /zh-cn/next/usage/issues-prs/pull-request/ 301
/zh-cn/next/usage/push                            /zh-cn/next/usage/repository/push/ 301
/zh-cn/next/usage/push-options                    /zh-cn/next/usage/repository/push/ 301
/zh-cn/next/usage/push-to-create                  /zh-cn/next/usage/repository/push/ 301
/zh-cn/next/usage/repo-mirror                     /zh-cn/next/usage/repository/repo-mirror/ 301
/zh-cn/next/usage/secrets                         /zh-cn/next/usage/actions/secrets/ 301
/zh-cn/next/usage/template-repositories           /zh-cn/next/usage/repository/template-repositories/ 301
/zh-cn/next/usage/webhooks                        /zh-cn/next/usage/repository/webhooks/ 301

# ... and under traditional chinese, develop.
/zh-tw/next/actions                               /zh-tw/next/usage/actions/ 301
/zh-tw/next/actions/                              /zh-tw/next/usage/actions/ 301
/zh-tw/next/administration                        /zh-tw/next/category/administration/ 301
/zh-tw/next/administration/                       /zh-tw/next/category/administration/ 301
/zh-tw/next/administration/logging-configuration  /zh-tw/next/administration/logging-config/ 301
/zh-tw/next/advanced/adding-legal-pages           /zh-tw/next/administration/adding-legal-pages/ 301
/zh-tw/next/advanced/clone-filters                /zh-tw/next/usage/repository/clone-filters/ 301
/zh-tw/next/advanced/cmd-embedded                 /zh-tw/next/administration/cmd-embedded/ 301
/zh-tw/next/advanced/config-cheat-sheet           /zh-tw/next/administration/config-cheat-sheet/ 301
/zh-tw/next/advanced/customizing-gitea            /zh-tw/next/administration/customizing-gitea/ 301
/zh-tw/next/advanced/environment-variables        /zh-tw/next/administration/environment-variables/ 301
/zh-tw/next/advanced/external-renderers           /zh-tw/next/administration/external-renderers/ 301
/zh-tw/next/advanced/logging-configuration        /zh-tw/next/administration/logging-config/ 301
/zh-tw/next/advanced/mail-templates               /zh-tw/next/administration/mail-templates/ 301
/zh-tw/next/advanced/protected-tags               /zh-tw/next/usage/access-control/protected-tags/ 301
/zh-tw/next/advanced/repo-indexer                 /zh-tw/next/administration/repo-indexer/ 301
/zh-tw/next/advanced/repo-mirror                  /zh-tw/next/usage/repository/repo-mirror/ 301
/zh-tw/next/advanced/search-engines-indexation    /zh-tw/next/administration/search-engines-indexation/ 301
/zh-tw/next/advanced/signing                      /zh-tw/next/administration/signing/ 301
/zh-tw/next/developers/api-usage                  /zh-tw/next/development/api-usage/ 301
/zh-tw/next/developers/integrations               /zh-tw/next/development/integrations/ 301
/zh-tw/next/developers/migrations-interfaces      /zh-tw/next/development/migrations-interfaces/ 301
/zh-tw/next/developers/oauth2-provider            /zh-tw/next/development/oauth2-provider/ 301
/zh-tw/next/development                           /zh-tw/next/category/development/ 301
/zh-tw/next/development/                          /zh-tw/next/category/development/ 301
/zh-tw/next/features/authentication               /zh-tw/next/administration/authentication/ 301
/zh-tw/next/features/comparison                   /zh-tw/next/installation/comparison/ 301
/zh-tw/next/features/webhooks                     /zh-tw/next/usage/repository/webhooks/ 301
/zh-tw/next/help                                  /zh-tw/next/category/help/ 301
/zh-tw/next/help/                                 /zh-tw/next/category/help/ 301
/zh-tw/next/help/seek-help                        /zh-tw/next/help/support/ 301
/zh-tw/next/installation                          /zh-tw/next/category/installation/ 301
/zh-tw/next/installation/                         /zh-tw/next/category/installation/ 301
/zh-tw/next/installation/upgrade-from-gogs        /zh-tw/next/category/installation/ 301
/zh-tw/next/upgrade/upgrade-from-gitea            /zh-tw/next/installation/upgrade-from-gitea/ 301
/zh-tw/next/upgrade/upgrade-from-gogs             /zh-tw/next/category/installation/ 301
/zh-tw/next/usage                                 /zh-tw/next/category/usage/ 301
/zh-tw/next/usage/                                /zh-tw/next/category/usage/ 301
/zh-tw/next/usage/actions/act-runner              /runner/ 301
/zh-tw/next/usage/agit-setup                      /zh-tw/next/usage/issues-prs/agit/ 301
/zh-tw/next/usage/authentication                  /zh-tw/next/administration/authentication/ 301
/zh-tw/next/usage/automatically-linked-references /zh-tw/next/usage/issues-prs/automatically-linked-references/ 301
/zh-tw/next/usage/badge                           /zh-tw/next/usage/actions/badge/ 301
/zh-tw/next/usage/blame                           /zh-tw/next/usage/repository/blame/ 301
/zh-tw/next/usage/blocking-user                   /zh-tw/next/usage/access-control/blocking-user/ 301
/zh-tw/next/usage/clone-filters                   /zh-tw/next/usage/repository/clone-filters/ 301
/zh-tw/next/usage/code-owners                     /zh-tw/next/usage/repository/code-owners/ 301
/zh-tw/next/usage/command-line                    /zh-tw/next/administration/command-line/ 301
/zh-tw/next/usage/email-setup                     /zh-tw/next/administration/email-setup/ 301
/zh-tw/next/usage/git-lfs-setup                   /zh-tw/next/administration/git-lfs-setup/ 301
/zh-tw/next/usage/https-setup                     /zh-tw/next/administration/https-setup/ 301
/zh-tw/next/usage/incoming-email                  /zh-tw/next/usage/repository/incoming-email/ 301
/zh-tw/next/usage/issue-pull-request-templates    /zh-tw/next/usage/issues-prs/issue-pull-request-templates/ 301
/zh-tw/next/usage/labels                          /zh-tw/next/usage/issues-prs/labels/ 301
/zh-tw/next/usage/markdown                        /zh-tw/next/usage/repository/markdown/ 301
/zh-tw/next/usage/merge-message-templates         /zh-tw/next/usage/issues-prs/merge-message-templates/ 301
/zh-tw/next/usage/migration                       /zh-tw/next/usage/repository/migration/ 301
/zh-tw/next/usage/multi-factor-authentication     /zh-tw/next/usage/user-setting/multi-factor-authentication/ 301
/zh-tw/next/usage/permissions                     /zh-tw/next/usage/access-control/permissions/ 301
/zh-tw/next/usage/protected-tags                  /zh-tw/next/usage/access-control/protected-tags/ 301
/zh-tw/next/usage/pull-request                    /zh-tw/next/usage/issues-prs/pull-request/ 301
/zh-tw/next/usage/push                            /zh-tw/next/usage/repository/push/ 301
/zh-tw/next/usage/push-options                    /zh-tw/next/usage/repository/push/ 301
/zh-tw/next/usage/push-to-create                  /zh-tw/next/usage/repository/push/ 301
/zh-tw/next/usage/repo-mirror                     /zh-tw/next/usage/repository/repo-mirror/ 301
/zh-tw/next/usage/secrets                         /zh-tw/next/usage/actions/secrets/ 301
/zh-tw/next/usage/template-repositories           /zh-tw/next/usage/repository/template-repositories/ 301
/zh-tw/next/usage/webhooks                        /zh-tw/next/usage/repository/webhooks/ 301

# Runner versions that were published under their full number, and the develop
# runner docs, which used to be `next`.
/runner/0.2.11/* /runner/0/:splat 301
/runner/1.0.8/* /runner/1/:splat 301
/runner/next/* /runner/develop/:splat 301
