Next.js sitemap wrong on a Sanity site: missing pages and stale URLs
Next.js sitemap wrong on a Sanity site? Find why pages are missing, drafts leak in, or old URLs linger, and fix the sitemap query and caching.
Tag archive
Next.js sitemap wrong on a Sanity site? Find why pages are missing, drafts leak in, or old URLs linger, and fix the sitemap query and caching.
Next.js soft 404 errors on a Sanity site mean Google sees empty pages with a 200 status. Here is how to find them, fix them, and what to ask a developer.
Editors pasting from Word or Google Docs can fill Sanity Portable Text with empty blocks and stray styles. Here is how to find, fix and prevent it.
Sanity multilingual site losing traffic? Find broken hreflang, orphaned translations and wrong canonicals in a Next.js build, and fix them in order.
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.
Sanity broken references crashing Next.js pages? Find dangling refs with GROQ, harden your queries, and stop editors creating more. A rescue guide.
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.
Sanity page builder with 40 block types and editors afraid to touch it? Symptoms, what it costs to ignore, and the order I fix it in.
Sanity dataset full of orphaned images, stale drafts and dead documents? Here is how to find them, back up, and clean up safely without breaking live pages.
Editors hit publish in Sanity but the live Next.js site stays stale. Here is how to diagnose stale content, what it costs, and the fix path.