Skip to content

Add archive redirects for Calico Enterprise 3.20 and 3.19#2846

Merged
ctauchen merged 1 commit into
tigera:mainfrom
ctauchen:docs-fix-ce-3.20-3.19-archive-redirects
Jul 10, 2026
Merged

Add archive redirects for Calico Enterprise 3.20 and 3.19#2846
ctauchen merged 1 commit into
tigera:mainfrom
ctauchen:docs-fix-ce-3.20-3.19-archive-redirects

Conversation

@ctauchen

Copy link
Copy Markdown
Collaborator

Problem

https://docs.tigera.io/calico-enterprise/3.20/about returns a 404.

When CE 3.20 was archived, it was dropped from onlyIncludeVersions in docusaurus.config.js and its archive link in src/pages/archive.md was repointed to https://archive-ce-3-20.netlify.app. However, the _redirects splat 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/about also 404s), so this PR fixes both.

Fix

  • Add Netlify archive splat rules for /calico-enterprise/3.20/* and /calico-enterprise/3.19/*, matching the existing pattern for 3.14–3.18.
  • Drop the now-stale bare /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

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>
Copilot AI review requested due to automatic review settings July 10, 2026 15:42
@ctauchen ctauchen requested a review from a team as a code owner July 10, 2026 15:42
@netlify

netlify Bot commented Jul 10, 2026

Copy link
Copy Markdown

Deploy Preview for calico-docs-preview-next ready!

Name Link
🔨 Latest commit 27c2c96
🔍 Latest deploy log https://app.netlify.com/projects/calico-docs-preview-next/deploys/6a51130482002e00089c83c7
😎 Deploy Preview https://deploy-preview-2846--calico-docs-preview-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jul 10, 2026

Copy link
Copy Markdown

Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit 27c2c96
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6a5113049874620008fbffdb
😎 Deploy Preview https://deploy-preview-2846--tigera.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 68 (🔴 down 25 from production)
Accessibility: 98 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

Comment thread static/_redirects
@@ -43,7 +43,6 @@
/calicc-enterprise/3.23/ /calico-enterprise/latest/about 301
@ctauchen ctauchen merged commit ed5e8bf into tigera:main Jul 10, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants