Skip to content

Move the site to atomic-notes.devbehindyou.com, SEO/GEO fixes, US English - #13

Merged
DevBehindYou merged 5 commits into
mainfrom
ccr-f5fb2c90-eoqhx9
Oct 6, 2026
Merged

DevBehindYou merged 5 commits into
mainfrom
ccr-f5fb2c90-eoqhx9

Conversation

@DevBehindYou

Copy link
Copy Markdown
Owner

Domain migration

  • Every reference to atomic-notes-community.vercel.app now uses https://atomic-notes.devbehindyou.com: the default site URL, .env.example, llms.txt, blog canonicals, the blog pipeline config and drafts, docs and tests.
  • SITE_URL (src/lib/site.ts) ignores NEXT_PUBLIC_SITE_URL values on the retired host or any *.vercel.app host. The live sitemap and robots.txt still listed the old host because that value was baked in at build time. A build made with the stale value now emits only the new domain.
  • 308 redirect from the old Vercel host to the same path on the new domain (next.config.mjs).
  • Developer links use https://devbehindyou.com through one DEVELOPER_URL constant.

SEO / GEO

  • Each page sets its own canonical, Open Graph and X card through pageMetadata (src/lib/seo.ts). Before this, /privacy, /terms, /updates and /support-atomic-notes inherited the home page's card, including its og:url.
  • Blog posts: full article Open Graph tags, BlogPosting + BreadcrumbList JSON-LD, absolute image URLs, and a guard that moves old-domain canonicals onto the current origin.
  • robots.txt declares the sitemap and host. The RSS feed gets atom:link self, lastBuildDate, and a discovery link on every page. Sitemap lastmod comes from real dates.
  • llms.txt lists the legal pages, blog posts, feed, sitemap and developer.
  • Alt text: gallery screenshots say what they show, blog card thumbnails are decorative, and the cover alt describes the actual banner.

US English

  • <html lang="en-US">, inLanguage: en-US, RSS en-us.
  • US date order in display text. Dates are formatted with en-US and UTC instead of the server's locale. ISO dates are unchanged.
  • Serial commas, "IDs", and commas inside closing quotes. Legal pages change punctuation only.
  • Fixes the missing space in "content (Adobe)" and a blog link to a guide that does not exist.

README

Live URL, Next.js 15, current routes, SEO endpoints, and the missing NEXT_PUBLIC_SITE_URL and ADMIN_PASSWORD_2 variables.

Verification

  • npx tsc --noEmit: pass
  • npm run build: pass
  • npm run test:smoke: 24/24 pass. New tests cover per-page canonicals and cards, the robots sitemap line and the legacy redirect.
  • npm audit --audit-level=high fails on a source-map-js advisory that also fails on main. Not changed here.

After merging, redeploy so the build picks up the new code.

🤖 Generated with Claude Code

https://claude.ai/code/session_01N6CCeSeEEcvpWot2tB7XgJ


Generated by Claude Code

claude added 4 commits October 6, 2026 03:14
Replace atomic-notes-community.vercel.app with the new custom subdomain in
the default site URL, .env.example, llms.txt, blog canonicals, the blog
pipeline config and drafts, docs, and the smoke tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N6CCeSeEEcvpWot2tB7XgJ
- Every page now sets its own og:url, og:title and Twitter card. Before,
  /privacy, /terms, /updates and /support-atomic-notes inherited the home
  page's card (og:url pointed at the home page) and /blog had no og:url.
- Blog posts: full Open Graph article tags (section, tags, author), Twitter
  handle, absolute image URLs, BlogPosting + BreadcrumbList JSON-LD linked to
  the site graph, and a canonical guard that moves old-domain values onto
  the current origin.
- 308 redirect from atomic-notes-community.vercel.app to the new domain.
- robots.txt declares the sitemap and host; RSS gets atom:link self,
  lastBuildDate and a discovery link on every page; sitemap dates /blog.
- llms.txt lists the legal pages, blog posts, feed and sitemap.
- Smoke tests cover the per-page cards, robots sitemap and the redirect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N6CCeSeEEcvpWot2tB7XgJ
…u.com

- SITE_URL ignores NEXT_PUBLIC_SITE_URL values on the retired
  atomic-notes-community.vercel.app host or any *.vercel.app host. The live
  sitemap and robots.txt still listed the old host because that value was
  baked in at build time; with this guard a stale value cannot leak into
  canonicals, the sitemap, robots.txt or the feed.
- Developer links (author meta, footer, Person and BlogPosting JSON-LD,
  pipeline authors.json, llms.txt) point at https://devbehindyou.com via one
  DEVELOPER_URL constant. Person.sameAs adds LinkedIn and YouTube.
- Sitemap lastmod for home (release date) and legal pages, from one
  LEGAL_UPDATED source that the pages also render inside <time>.
- Alt text: gallery screenshots say what they are; blog card thumbnails are
  decorative (alt="") next to their linked titles; the cover alt now
  describes the banner it actually shows.
- README: live URL, Next.js 15, current routes, SEO endpoints, missing env
  vars and the redeploy note for NEXT_PUBLIC_* changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N6CCeSeEEcvpWot2tB7XgJ
- Locale signals: <html lang="en-US">, WebSite and BlogPosting
  inLanguage en-US, RSS <language>en-us</language> (og:locale was
  already en_US).
- Dates: US order everywhere people read them (September 27, 2026;
  Sep 28, 2026). Legal pages format en-US instead of en-GB; blog and
  updates dates use en-US and UTC instead of the server's locale, so a
  date-only post cannot shift a day, and update times read "3:30 PM UTC".
  ISO dates in front matter, JSON-LD and the sitemap are unchanged.
- Serial commas in public lists, "IDs" for "ids", commas inside closing
  quotes. Legal pages: punctuation only, no change to meaning.
- Home page: restores the missing space in "content (Adobe)".
- Blog post: question headings get question marks, and the "Atomic Energy
  guide" link that pointed at /blog now goes to the Energy section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N6CCeSeEEcvpWot2tB7XgJ
@vercel

vercel Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
atomic-notes-community Ready Ready Preview Oct 6, 2026 2:12pm UTC

npm audit --audit-level=high failed CI on main and on this branch: the
high-severity source-map-js advisory (event-loop denial of service through
indexed source-map section offsets). 1.2.2 is the patched release and a
lockfile-only change; the four moderate advisories that remain need a
breaking gray-matter downgrade and do not fail the high-level audit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N6CCeSeEEcvpWot2tB7XgJ
@DevBehindYou
DevBehindYou merged commit 5139597 into main Oct 6, 2026
3 checks passed

This branch was successfully deployed

2 active (1 outdated) deployments
Preview — 66f5b842 Deployed Oct 6, 2026 by vercel[bot]
Production — aeec044d Deployed Oct 6, 2026 by vercel[bot]
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