Files
supabase/apps/docs/lib
claude[bot]andClaude 032f0d0710 fix: broken links from the Web 404 Review, week of 2026-11-02 (#53144)
<!-- claude-slack-attribution -->
_Requested via [Slack
thread](https://supabase.slack.com/archives/C076KTY11DF/p1794189210976169?thread_ts=1794189210.976169&cid=C076KTY11DF)_

## Problem

The Web 404 Review for the week of 2026-11-02 flagged these paths as
returning 404:

- `/docs/guides/local-development/cli/customizing-email-templates`: the
guide moved out of `cli/` and the old path has no redirect.
- `/docs/swift/javascript/auth-mfa-enroll`: the Swift v1 and v2
`mfa.challengeAndVerify()` notes link to this malformed path.
- `/docs/guides/database/triggers`: the guide moved to
`/docs/guides/database/postgres/triggers` and the old path has no
redirect.
- `/docs/guides/local-development/cli/managing-config`: the guide moved
out of `cli/`. Its sibling paths (`cli/managing-environments`,
`cli/migrations`, `cli/seeding-your-database`) already redirect, this
one was missed.

## Solution

One commit per fix, so any fix can be dropped by reverting its commit:

- `/docs/guides/local-development/cli/customizing-email-templates`:
permanent redirect to
`/docs/guides/local-development/customizing-email-templates` in
`apps/docs/lib/redirects/static-redirects.json`.
- `/docs/swift/javascript/auth-mfa-enroll`: link changed to
`/docs/reference/swift/auth-mfa-enroll` in
`apps/docs/spec/supabase_swift_v1.yml` and
`apps/docs/spec/supabase_swift_v2.yml`, matching the other languages and
the sibling `mfa.challenge()` note.
- `/docs/guides/database/triggers`: permanent redirect to
`/docs/guides/database/postgres/triggers` in `static-redirects.json`.
- `/docs/guides/local-development/cli/managing-config`: permanent
redirect to `/docs/guides/local-development/managing-config` in
`static-redirects.json`, next to its siblings.

All redirect targets exist in `apps/docs/content/guides`. `node
apps/docs/scripts/generate-static-redirects-md-variants.mjs` runs clean
with the new entries.

## Review instructions

Open each path in the To test list on the docs preview and check the
result.

## To test

- [x] Open
`/docs/guides/local-development/cli/customizing-email-templates`:
redirects to
`/docs/guides/local-development/customizing-email-templates`. 308,
target returns 200.
- [x] Open `/docs/reference/swift/auth-mfa-challengeandverify` and
`/docs/reference/swift/v1/auth-mfa-challengeandverify`: the "enrolled
factor" link goes to `/docs/reference/swift/auth-mfa-enroll`. Both
pages, target returns 200, no `/docs/swift/javascript/` hrefs remain.
The v1 page linking to the latest enroll page matches the other v1 specs
(Dart, Kotlin) and the sibling `challenge()` note.
- [x] Open `/docs/guides/database/triggers`: redirects to
`/docs/guides/database/postgres/triggers`. 308, target returns 200.
- [x] Open `/docs/guides/local-development/cli/managing-config`:
redirects to `/docs/guides/local-development/managing-config`. 308,
target returns 200.
- [x] Sibling redirect
`/docs/guides/local-development/cli/managing-environments` still goes to
`/docs/guides/deployment/managing-environments` (200).
- [x] Markdown variant `/docs/guides/database/triggers.md` redirects to
`/docs/guides/database/postgres/triggers.md` (308, 200).
- [x] The three redirect targets load directly with no further redirect.

## Checklist

Check all before review:

- [ ] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)

## Linear

- fixes GROWTH-1459

---
_Generated by [Claude
Code](https://claude.ai/code/session_011aGhSA9eHLKUDz5xbi7tY2)_

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-09 16:00:32 +09:00
..
2026-09-11 12:17:49 +08:00
…
…