Skip to content

Rename the /debatelab-* pages to /debateowl-* and drop the last pi-stack.org links - #247

Merged
Programcode merged 1 commit into
mainfrom
chore/rebrand-leftovers
Oct 27, 2026
Merged

Programcode merged 1 commit into
mainfrom
chore/rebrand-leftovers

Conversation

@Programcode

Copy link
Copy Markdown
Owner

Finishes the rebrand leftovers after the debateowl.com move (#246).

Renamed pages

Old New
/debatelab-pricing /debateowl-pricing
/debatelab-vs-chatgpt /debateowl-vs-chatgpt
/debatelab-vs-debateclub /debateowl-vs-debateclub
/debatelab-vs-windebate /debateowl-vs-windebate

These pages only exist in English; the generator makes no /hu or /es versions of them.

  • One rule in vercel.json, /:locale(hu|es)?/debatelab-:slug(pricing|vs-chatgpt|vs-debateclub|vs-windebate){/}? → /debateowl-:slug, 301s the old paths. It also covers /hu/…, /es/… and a trailing slash, in one hop. Vercel appends the query.
  • I checked the source against @vercel/routing-utils sourceToRegex (v6.6.0). It doesn't match /debatelab, /debatelab-alternatives, /fr/… or /debatelab-pricingx.
  • Updated to the new slugs:
    • generator config (PAGES, CLUSTERS, LINK_PHRASES, NAV, About, footer)
    • seo_answers.py and seo_guides.py
    • landing footer and guide hub, with the locale key in en, hu and es
    • llms.txt, humans.txt and seo_hour_watch.py
    • tests and docs
  • Regenerated the pages. CONTENT_DATE moves to 2026-10-27 because every guide now links the new pricing page.
  • gsc_submit.py now targets the debateowl.com property and sitemap, and inspects the live pages instead of the retired brand slugs. I didn't run it.

Not in this PR:

  • The demo account email domain (@debate.pi-stack.org) is in the admin edge function, which this change leaves alone.
  • The sign-in email footer lived only in the Supabase Auth config, not in the repo. I changed it separately in prod and staging.

Verify: npm run verify passed locally (unit, edge 483/483, build with check-site and check-links on 52 sitemap URLs, e2e smoke 47/47). The built sitemap lists only the /debateowl-* paths.

…ack.org links

- /debatelab-pricing, -vs-chatgpt, -vs-debateclub and -vs-windebate are now /debateowl-*.
  One vercel.json rule 301s each old path, also under /hu/ or /es/ and with a trailing
  slash, to the new page in one hop; Vercel keeps the query.
- Generator config, answers, guides, footer, landing guide hub, locales, llms.txt,
  humans.txt and the seo watch list use the new slugs; pages regenerated, CONTENT_DATE
  moved to 2026-10-27 because every guide links the new pricing page.
- gsc_submit.py targets debateowl.com (URL-prefix or domain property) and inspects the
  live pages instead of the retired brand slugs.
- Tests cover the new redirect with the path-to-regexp form Vercel compiles.
Copilot AI balanced review requested due to automatic review settings October 27, 2026 14:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Essentials by visiting https://app.coderabbit.ai/settings/billing.

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

@Programcode
Programcode merged commit dba5219 into main Oct 27, 2026
2 of 10 checks passed
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