Skip to content

fix: add redirects for legacy /{lang}/flashduty/* paths (335 URLs) - #252

Merged
ysyneu merged 1 commit into
mainfrom
fix/legacy-docs-redirects
Aug 10, 2026
Merged

fix: add redirects for legacy /{lang}/flashduty/* paths (335 URLs)#252
ysyneu merged 1 commit into
mainfrom
fix/legacy-docs-redirects

Conversation

@ysyneu

@ysyneu ysyneu commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Problem

The docs site restructure moved all pages out of the old flat /{lang}/flashduty/<slug> structure into sectioned paths (/on-call/..., /compliance/..., /monitors/..., /rum/...). No redirects were configured, so every legacy URL — still referenced by product UIs, transactional emails, and published content — returns 404. Example: /zh/flashduty/user-aggrement (linked from the subscription purchase page) → 404.

Change

Adds 335 entries to redirects in docs.json, mapping each legacy path that is still referenced anywhere to its new location:

  • user-aggrement / privacy-policy / data-security / service-level-aggrement/compliance/*
  • *-integration-guide/on-call/integration/{alert-integration/alert-sources,instant-messaging,sso,webhooks}/<name> (incl. renamed slugs such as nightingaleflashcat, feishu-alertlark-alert, gcpcmgoogle-cloud-monitoring, and legacy misspellings harboeharbor, skywallkingskywalking)
  • feature/setting pages → their new /on-call/..., /platform/..., /monitors/..., /rum/... equivalents
  • /{lang}/flashduty/ root → /{lang}/on-call

Verification

  • Every destination URL was checked live against https://docs.flashduty.com and returns 200 (326 destinations verified individually during mapping; all 335 sources have a verified destination).
  • jq empty docs.json passes.
  • Old paths sampled to confirm they currently 404 (user-aggrement, aliyun-arms-integration-guide, war-room, rum/session-replay).

The docs site restructure moved all pages out of the old flat
/{lang}/flashduty/<slug> structure into sectioned paths (on-call/,
compliance/, monitors/, rum/, ...), leaving every legacy URL to 404.

Add 335 redirects mapping each legacy path still referenced by product
UIs, emails and published content to its new location; every
destination was verified live (HTTP 200) before inclusion.
@ysyneu
ysyneu merged commit 2952f61 into main Aug 10, 2026
1 check 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.

1 participant