Skip to content

fix(seo-snapshot): reverse redirect pointing at a DB-orphaned slug - #32

Merged
gogrowth-co merged 1 commit into
mainfrom
fix/dead-checklist-redirect
Aug 25, 2026
Merged

fix(seo-snapshot): reverse redirect pointing at a DB-orphaned slug#32
gogrowth-co merged 1 commit into
mainfrom
fix/dead-checklist-redirect

Conversation

@gogrowth-co

Copy link
Copy Markdown
Owner

Found while verifying today's v3.0 deploy: the only 2 of 111 URLs still failing seo-bot-view-guard were /br/artigos/defi-gtm-checklist and its ES twin.

Root cause: REDIRECTS sent these live, DB-backed URLs to slugs with zero matching page_translations rows (confirmed via direct query). The real page has complete en/br/es translations and generates perfectly on its own — the redirect was actively routing traffic away from working content to an orphaned pre-fix storage object.

Reversed rather than deleted, so old bookmarks/indexed links land on the working page instead of a dead end.

deno check passes. Needs the standard Lovable Cloud deploy once credits are available.

🤖 Generated with Claude Code

Found while verifying the v3.0 deploy: seo-bot-view-guard reported the only
2 failures left (of 111) at /br/artigos/defi-gtm-checklist and its ES twin.

Root cause: REDIRECTS mapped these live, DB-backed URLs to
"checklist-go-to-market-defi" / "lista-verificacion-gtm-defi", slugs with
ZERO matching page_translations rows (verified via direct PostgREST query).
generatePublicationSnapshot correctly returns null for a nonexistent slug even
with refresh=1, so the request fell through to an orphaned object left in the
seo-snapshots storage bucket from before this session's fix — old lean format,
no h1, no internal links.

The real page (slug "defi-gtm-checklist") has complete en/br/es translations
and generates perfectly once nothing redirects away from it.

Reversed the two entries rather than deleting them, so the old broken URLs
(possibly already indexed or bookmarked) redirect to the working page instead
of dead-ending. Verified the other two REDIRECTS entries point at real,
DB-backed slugs and left them untouched.

deno check passes.

Co-Authored-By: Claude Fable 5 <[email protected]>
@netlify

netlify Bot commented Aug 25, 2026

Copy link
Copy Markdown

Deploy Preview for mangabeira ready!

Name Link
🔨 Latest commit f5458f6
🔍 Latest deploy log https://app.netlify.com/projects/mangabeira/deploys/6a8dd8d406183d0007d27aed
😎 Deploy Preview https://deploy-preview-32--mangabeira.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Aug 25, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Repository: gogrowth-co/coderabbit/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 977aece1-6584-4557-b673-802f0c5faabf


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gogrowth-co
gogrowth-co merged commit 7030fff into main Aug 25, 2026
5 of 7 checks passed
@gogrowth-co
gogrowth-co deleted the fix/dead-checklist-redirect branch August 25, 2026 18:03
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.

2 participants