topic
Next.js SEOstructured data, llms.txt & Core Web Vitals
overview
I'm Dibbayajyoti Roy — a Next.js engineer who treats SEO as an engineering problem, not an afterthought. Modern Next.js SEO is the Next.js Metadata API, JSON-LD structured data, sitemap and robots generation, llms.txt for AI crawlers, and Core Web Vitals. This site is the working example of all of it.
what I implement
The Next.js Metadata API for per-route titles, descriptions, and canonical URLs; JSON-LD structured data for every page type; programmatic sitemap.ts and robots.ts; llms.txt and llms-full.txt for AI search; Open Graph and Twitter cards; and Core Web Vitals work — bundle splitting, image optimization, and eliminating render-blocking cost.
this site as a case study
This portfolio is built with the Next.js App Router and ships a cross-referenced JSON-LD entity graph: a Person node, a WebSite node, FAQPage markup, and CollectionPage, ProfilePage, SoftwareApplication, and TechArticle schema on the pages that warrant it — all linked by stable @id so search engines and AI agents resolve one consistent entity. The topic pages you are reading — including this one — are themselves the structural SEO fix: clear silos for Rust, WebAssembly, AI engineering, and distributed systems.
writing
The full practical guide — Next.js SEO in 2026, covering the Metadata API, JSON-LD, llms.txt, sitemap optimization, and Core Web Vitals — is linked from the writing page.
faq
What does Next.js SEO involve in 2026?
The Next.js Metadata API for titles and canonicals, JSON-LD structured data, a generated sitemap and robots file, llms.txt for AI crawlers, and healthy Core Web Vitals. Together they tell both Google and AI search engines what a site is about.
How does this site implement structured data?
Every route emits JSON-LD — Person, WebSite, and FAQPage on the homepage, plus AboutPage, ProfilePage, CollectionPage, SoftwareApplication, and TechArticle schema on the relevant pages — all cross-referenced by stable @id so the entity graph stays consistent.
What is llms.txt and does this site use it?
llms.txt is a plain-text summary of a site written for AI crawlers and LLMs. This site serves both /llms.txt and an extended /llms-full.txt, linked from the document head.
Why move long-form articles off Medium?
Articles hosted on a third party send ranking signals to that domain. Publishing canonical content on your own Next.js site builds topical authority where it compounds for you.
related
Keep reading: AI engineering · AHTML vs llms.txt · engineering writing · get in touch
Thanks for reading. Love your work, keep it up!