From 44b2c79745f3c16885e36b8f9ecf0082c6de2ace Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Wed, 30 Sep 2026 19:16:02 -0700 Subject: [PATCH] fix(redirects): restore the hyphenated legal page URLs `deploy/privacy-policy.md` and `deploy/terms-and-conditions.md` were renamed to underscores, but only the `/deploy/classic/` form of each old URL was carried over in page frontmatter. The bare hyphenated paths have 404ed since, and the site search still surfaces `/deploy/privacy-policy`. Added to `oldurls.json` rather than the pages' `oldUrl` frontmatter so the freshness check does not demand a `last_modified` bump on two legal documents whose content did not change. --- oldurls.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oldurls.json b/oldurls.json index bbd51e8aa..2f972ed2f 100644 --- a/oldurls.json +++ b/oldurls.json @@ -168,6 +168,8 @@ "runtime/reference/node_apis/": "/api/node/", "/deploy/tutorials/vite/": "/examples/react_tutorial/", "/deploy/manual/*": "/deploy/classic/*", + "/deploy/privacy-policy/": "/deploy/privacy_policy/", + "/deploy/terms-and-conditions/": "/deploy/terms_and_conditions/", "/deploy/early-access": "/deploy/", "/deploy/early-access/*": "/deploy/*", "/deploy/tutorials/": "/examples/",