Fix residual blog metadata from Ahrefs audit#7894
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 210b427. Configure here.
Greptile SummaryThis PR aligns metadata and locale handling for audited marketing pages. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (7): Last reviewed commit: "Remove localized discovery for English-o..." | Re-trigger Greptile |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 210b427261
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
e3f39cd to
0a06001
Compare
11a7fe8 to
7018acc
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7018acc2ca
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
6df5d73 to
0fa332e
Compare
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |

Stacked on #7888.
Selects complete, route-specific metadata for 11 blog families,
/nightly, and/guidesacross published locales. HTML, Open Graph, Twitter, and article schema use the same selected copy. English-onlycmux-omoandgplURLs now canonicalize instead of publishing fallback duplicates.Tests:
bun test(591 passed, 91 skipped),bun run typecheck, changed-file ESLint.Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.Note
Low Risk
Marketing-site SEO, i18n routing, and sitemap/middleware only; no auth or data paths, with broad test coverage for alternates and canonicalization.
Overview
Addresses Ahrefs-style metadata gaps by routing 11 audited blog posts plus
/nightlyand/guidesthrough sharedblogPostSeoCopy/landingPageSeoCopyhelpers so titles and descriptions are built from plain post copy (not rawmetaDescription+seoDescriptionalone). Blog pages usetitle: { absolute: ... }, andBlogSchemaacceptsseoKeyso article JSON-LD matches HTML, Open Graph, and Twitter./blog/cmux-omoand/blog/gplare treated as English-only:englishFallbackContentLocales, per-routefallbackContentRoutes,blogPostsForLocale(index + pager), sitemap/agent-page lists,buildAlternates, and middleware now 301 localized URLs to canonical English paths and emithreflangonly foren.Tests expand audited SEO coverage (including
plainSeoMessageLookupguards) and assert blog discovery and canonical behavior for those posts.Reviewed by Cursor Bugbot for commit 0fa332e. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by cubic
Fixes residual blog metadata from the SEO audit. Switches 11 audited posts and
/nightly+/guidesto plain‑text, canonical SEO, and hides English‑only posts from localized blog lists.blogPostSeoCopy; settitle: { absolute: ... }and passseoKeytoBlogSchemaso JSON‑LD uses the same copy.landingPageSeoCopyfor/nightlyand/guideswith complete prose and site context./blog/cmux-omoand/blog/gplas English‑only:buildAlternates,Linkheaders, and sitemap emit onlyen; middleware respects route‑specific locales, chooses the preferred available locale, and 301s non‑canonical locale paths.blogPostsForLocale; agent‑page lists and sitemap align.Written for commit 0fa332e. Summary will update on new commits.