Staging site indexed by Google: fix a Next.js + Sanity setup
Staging site indexed by Google on a Next.js and Sanity build? Here is how to find the leak, block it, and clean up the duplicate URLs safely.
Tag archive
Staging site indexed by Google on a Next.js and Sanity build? Here is how to find the leak, block it, and clean up the duplicate URLs safely.
Sanity slug changes causing 404s on your Next.js site? Here is how to find broken URLs, add a redirect document type, and stop editors losing rankings.

use cache stores a result, cacheLife decides when it goes stale, cacheTag lets you throw it out on demand. When to use each, and where TanStack Query fits.
Found a Sanity API token exposed in your Next.js bundle or repo? Here is how to confirm it, rotate it, and lock down your dataset and CORS settings.
Content stuck in components? Here is how to add Sanity CMS to a Next.js site with hardcoded content one page at a time, without a full rebuild.
Next.js pages not indexed by Google on a Sanity site? Here are the real causes, what ignoring them costs, the fix order, and what to ask a developer.
Sanity preview not working in Presentation or draft mode? Work through CORS origins, secrets, the draftMode cookie, stega and caching causes.
Next.js 16 async params explained: fix pages, layouts, route handlers and generateMetadata, plus the codemod and the cookies() and headers() change.
How to upgrade Next.js 15 to 16 on a Sanity-backed site: what changed, typical breakages, the cost of staying behind, and effort by codebase size.
How to do a website redesign without losing SEO on Sanity + Next.js: URL inventory, 301 map, metadata parity, schema, sitemap and GSC monitoring.
How to migrate Next.js Pages Router to App Router route by route: when it's worth it, Sanity data fetching, SEO risks and effort ranges.
Gatsby is effectively unmaintained. Here's the real migration path to Next.js App Router, keeping Sanity, URL parity, and your editors sane.