diff --git a/content/get-started/quickstart/github-flow.md b/content/get-started/quickstart/github-flow.md index b43a4f8314..00eb70492d 100644 --- a/content/get-started/quickstart/github-flow.md +++ b/content/get-started/quickstart/github-flow.md @@ -23,7 +23,7 @@ topics: ## Prerequisites -To follow {% data variables.product.prodname_dotcom %} flow, you will need a {% data variables.product.prodname_dotcom %} account and a repository. For information on how to create an account, see "[AUTOTITLE](/get-started/signing-up-for-github)." For information on how to create a repository, see "[AUTOTITLE](/get-started/quickstart/create-a-repo)."{% ifversion fpt or ghec %} For information on how to find an existing repository to contribute to, see "[AUTOTITLE](/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github)."{% endif %} +To follow {% data variables.product.prodname_dotcom %} flow, you will need a {% data variables.product.prodname_dotcom %} account and a repository. {% ifversion not ghae %}For information on how to create an account, see "[AUTOTITLE](/get-started/signing-up-for-github)."{% endif %} For information on how to create a repository, see "[AUTOTITLE](/get-started/quickstart/create-a-repo)."{% ifversion fpt or ghec %} For information on how to find an existing repository to contribute to, see "[AUTOTITLE](/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github)."{% endif %} ## Following {% data variables.product.prodname_dotcom %} flow diff --git a/src/archives/middleware/archived-enterprise-versions.js b/src/archives/middleware/archived-enterprise-versions.js index 15219290f0..359c1e3bd1 100644 --- a/src/archives/middleware/archived-enterprise-versions.js +++ b/src/archives/middleware/archived-enterprise-versions.js @@ -112,7 +112,7 @@ export default async function archivedEnterpriseVersions(req, res, next) { }) const [language, withoutLanguage] = splitPathByLanguage(req.path, req.context.userLanguage) const newRedirectTo = redirectJson[withoutLanguage] - if (newRedirectTo) { + if (newRedirectTo && newRedirectTo !== withoutLanguage) { if (redirectCode === 302) { languageCacheControl(res) // call first to get `vary` }