Fix legacy documentation 404s: 67 redirects plus 4 pre-existing defects - #738
Open
danstotts-ops wants to merge 3 commits into
Open
Fix legacy documentation 404s: 67 redirects plus 4 pre-existing defects#738danstotts-ops wants to merge 3 commits into
danstotts-ops wants to merge 3 commits into
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Four pre-existing defects in the redirects array, all present on main
before this branch:
- pods/references/environment-variables had no leading slash on either
source or destination, producing a relative redirect target.
- Three 2-hop redirect chains flattened to point at their final
destination directly:
/serverless/endpoints/job-operations -> /serverless/endpoints/send-requests
/endpoints/health -> /serverless/endpoints/send-requests
/glossary -> /get-started/concepts
Chains dilute link equity and Google does not reliably follow more than
one hop. All destinations verified to return HTTP 200 live.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Both still returned 404 after the legacy redirect pass and both carry real Google Search Console demand over the trailing twelve months: - /tutorials/pods/run-fooocus 7,386 impressions / 218 clicks - /category/vllm-endpoints 411 impressions / 5 clicks The Fooocus tutorial was removed with no direct replacement; ComfyUI is the closest surviving equivalent (same task, image-generation UI on a Pod), so it is a judgment call rather than an exact match. Deliberately not redirected: /pods/monitoring/prometheus. It has one inbound link, zero impressions, and no surviving equivalent page. A 404 is the correct response for content that no longer exists; pointing it at an unrelated hub would manufacture a soft 404. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
danstotts-ops
marked this pull request as ready for review
July 28, 2026 17:09
lavanya-gunreddi
approved these changes
Jul 30, 2026
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.
Summary
Closes the legacy-URL 404 gap on docs.runpod.io. 67 new redirect entries, plus repairs to four pre-existing defects in the
redirectsarray. Scoped entirely todocs.json.Source of truth: the GSC "Not found (404)" export (1,000 of 1,095 rows; GSC caps the export).
What the 1,095 actually is
The headline number is not 1,095 broken doc pages. Broken down:
Why this is not a wildcard
Mintlify supports
{ "source": "/docs/:slug*", "destination": "/:slug*" }, and it is the obvious-looking fix. It does not work here and would make things worse.The legacy structure used flat GitBook slugs (
/docs/create-pod,/docs/handler-async); the current IA is nested (/pods/manage-pods,/serverless/handlers/...). Tested against the live sitemap, stripping the/docsprefix resolves 1 of 71 archived legacy paths. Shipping the wildcard would convert hard 404s into 308-redirects-to-404: it burns crawl budget, creates soft-404 signals, and hides the problem from the Page Indexing report without fixing it.Same trap on the CLI block: dead paths use underscores (
/references/runpodctl/runpodctl_config), live pages use hyphens (/runpodctl/reference/runpodctl-config). Every one of these migrations changed the slug shape, not just the prefix, so each needs an explicit entry.Two additions that carry real traffic
Both still 404'd after the main pass and both have twelve-month GSC demand:
/tutorials/pods/run-fooocus/tutorials/pods/comfyui/category/vllm-endpoints/serverless/vllm/overviewThe Fooocus tutorial was removed with no direct replacement. ComfyUI is the closest surviving equivalent (same task, image-generation UI on a Pod). Flagging it as a judgment call, happy to change it.
Pre-existing defects repaired (drive-by, separate commit)
All four were on
mainbefore this branch:pods/references/environment-variableshad no leading slash on source or destination, producing a relative redirect target./serverless/endpoints/job-operations->/serverless/endpoints/send-requests/endpoints/health->/serverless/endpoints/send-requests/glossary->/get-started/conceptsDeliberately left as 404
Paths with no inbound links, no impressions, and no surviving equivalent. A 404 is the correct response for content that no longer exists, and Google drops these on its own. Mintlify cannot emit 410, so 404 is also the only option. Redirecting them to a section hub would manufacture soft 404s and make the property worse.
Example:
/pods/monitoring/prometheus(one inbound link, zero impressions, no equivalent page).The right success metric is zero dead paths with external signal, not zero 404s.
Verification
docs.jsonparses as valid JSON; redirect count 223 -> 290.node scripts/validate-tooltips.jspasses.Not addressed here, worth a separate conversation
The largest single traffic loss in the dead set is the
/hosting/*cluster, deleted with no replacement:/hosting/overview(11,750 impressions),/hosting/maintenance-and-reliability(2,567),/hosting/burn-testing(820). Roughly 15,100 impressions a year of host and partner facing documentation with no equivalent anywhere in the current 304-page site. Those three currently redirect to/references/security-and-compliance, which is a holding pattern, not an answer. That is a content decision, not a redirect decision.