From 73480f5690ff2d1a302ba64e5421cab9a0aabdbe Mon Sep 17 00:00:00 2001 From: Taylor Bantle Date: Tue, 7 Jul 2026 10:22:10 -0700 Subject: [PATCH] fix: redirect three legacy DoltHub links that 404 in production MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- site/dolt/_redirects | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/site/dolt/_redirects b/site/dolt/_redirects index 79189c4..ef58b68 100644 --- a/site/dolt/_redirects +++ b/site/dolt/_redirects @@ -8,6 +8,8 @@ # site, blog posts, third-party pages) still point at these; redirect to # their current locations instead of 404ing. /docs/installation /docs/introduction/installation 301 +/docs/guides/installation /docs/introduction/installation 301 +/docs/guides/installation/* /docs/introduction/installation/:splat 301 /docs/reference/sql/configuration /docs/sql-reference/server/configuration 301 /docs/reference/sql/backups /docs/sql-reference/server/backups 301 /docs/reference/sql/replication /docs/sql-reference/server/replication 301 @@ -15,6 +17,15 @@ /docs/reference/sql/dolt-sysvars /docs/sql-reference/version-control/dolt-sysvars 301 /docs/reference/sql/dolt-system-tables /docs/sql-reference/version-control/dolt-system-tables 301 +# The Spreadsheets client doc was removed upstream (deemed out of date; +# https://github.com/dolthub/docs/commit/83438262) with no replacement page — +# send it to the Supported Clients index instead of 404ing. +/docs/sql-reference/supported-clients/spreadsheets /docs/sql-reference/supported-clients 301 + +# The v1alpha1 API docs used to live at the flat /products/dolthub/api/ path +# before being nested under v1alpha1/ to make room for v2. +/docs/products/dolthub/api/sql /docs/products/dolthub/api/v1alpha1/sql 301 + # Catch-all for any other /docs/reference/{sql,cli}/* paths — the canonical # URLs are /docs/sql-reference/* and /docs/cli-reference/*. Cloudflare # evaluates top-down (first match wins), so the specific remaps above still