Skip to content

fix: redirect three legacy DoltHub links that 404 in production#126

Merged
tbantle22 merged 1 commit into
devfrom
fix-guides-installation-sql-links
Jul 7, 2026
Merged

fix: redirect three legacy DoltHub links that 404 in production#126
tbantle22 merged 1 commit into
devfrom
fix-guides-installation-sql-links

Conversation

@tbantle22

Copy link
Copy Markdown
Collaborator

Summary

  • Add three redirects to site/dolt/_redirects for external links (marketing site / blog / third-party) that still point at pre-migration URLs and currently 404:
    • /docs/guides/installation (+ /* subpaths) → /docs/introduction/installation — the old GitBook site's redirect config still points here, but this path never existed on the new site.
    • /docs/sql-reference/supported-clients/spreadsheets/docs/sql-reference/supported-clients — source page was deliberately removed upstream as out of date (dolthub/docs@8343826), no replacement page exists.
    • /docs/products/dolthub/api/sql/docs/products/dolthub/api/v1alpha1/sql — page moved under v1alpha1/ when v2 was introduced.
  • A fourth dead link from the same report, a retool-feature-flag-app-export.json blog resource, is intentionally left alone — it's a missing blog asset, not a docs URL.

Test plan

  • npm run build:dolt succeeds
  • Verified dist/_redirects contains the new rules ahead of the existing /docs/reference/sql/* catch-all (no rule-ordering conflicts)
  • Confirmed via live fetch that the old GitBook site (docs.dolthub.com) still redirects /guides/installationwww.dolthub.com/docs/guides/installation
  • Confirmed via the archived dolthub/docs repo history that the spreadsheets page was removed intentionally and the API sql page was renamed into v1alpha1/

🤖 Generated with Claude Code

These are external links (marketing site / blog / third-party) that
still point at pre-migration URLs and 404 through our existing
_redirects catch-alls:

- /docs/guides/installation(/*) — old GitBook path; canonical is
  /docs/introduction/installation.
- /docs/sql-reference/supported-clients/spreadsheets — the source page
  was removed upstream as out of date (dolthub/docs@8343826) with no
  replacement; send it to the Supported Clients index instead of 404.
- /docs/products/dolthub/api/sql — moved under v1alpha1/ when v2 was
  introduced.

The retool-feature-flag-app-export.json blog resource from the same
report is left alone — that's a missing blog asset, not a docs URL.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@tbantle22 tbantle22 merged commit 4ad01f0 into dev Jul 7, 2026
7 checks passed
@tbantle22 tbantle22 deleted the fix-guides-installation-sql-links branch July 7, 2026 17:39
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