Add archive redirects for Calico Enterprise 3.20 and 3.19#2846
Merged
ctauchen merged 1 commit intoJul 10, 2026
Conversation
CE 3.20 was archived (dropped from onlyIncludeVersions in docusaurus.config.js and repointed to archive-ce-3-20.netlify.app in archive.md), but the _redirects splat rule was never added, so /calico-enterprise/3.20/* returned 404 on docs.tigera.io. CE 3.19 had the same gap. Add the Netlify archive splat rules for both versions, matching the existing pattern for 3.14-3.18, and drop the now-stale bare /calico-enterprise/3.20/ redirect (which pointed to a path that is no longer built). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for calico-docs-preview-next ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview succeeded!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes broken links for archived Calico Enterprise documentation by adding Netlify redirect “splat” rules so that requests to CE 3.20 and 3.19 paths on the main docs site are forwarded to their respective archive sites.
Changes:
- Added archive splat redirects for
/calico-enterprise/3.20/*and/calico-enterprise/3.19/*to the correct Netlify archive domains. - Removed the bare
/calico-enterprise/3.20/redirect that pointed at a non-built path (/calico-enterprise/3.20/about).
| @@ -43,7 +43,6 @@ | |||
| /calicc-enterprise/3.23/ /calico-enterprise/latest/about 301 | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Problem
https://docs.tigera.io/calico-enterprise/3.20/aboutreturns a 404.When CE 3.20 was archived, it was dropped from
onlyIncludeVersionsindocusaurus.config.jsand its archive link insrc/pages/archive.mdwas repointed tohttps://archive-ce-3-20.netlify.app. However, the_redirectssplat rule that forwards/calico-enterprise/3.20/*to the Netlify archive site was never added — so every 3.20 URL 404s on the main site.CE 3.19 has the same gap (
/calico-enterprise/3.19/aboutalso 404s), so this PR fixes both.Fix
/calico-enterprise/3.20/*and/calico-enterprise/3.19/*, matching the existing pattern for 3.14–3.18./calico-enterprise/3.20/redirect, which pointed to/calico-enterprise/3.20/about— a path that is no longer built (consistent with how 3.19's bare rule was already removed).Verification
https://archive-ce-3-20.netlify.app/calico-enterprise/3.20/about→ valid page ✅https://archive-ce-3-19.netlify.app/calico-enterprise/3.19/about→ valid page ✅🤖 Generated with Claude Code