vibecheck0.3.0
Search visibilityseonoindexerror

Page is set to “noindex” in Svelte

A <meta name="robots" content="noindex"> tells search engines to leave the page out of results entirely — the single most damaging SEO mistake because the page simply disappears. It is very often a leftover from a staging or “coming soon” environment that shipped to production. If it is not deliberate, it is an emergency.

Symptoms

  • The page vanished from Google after a deploy
  • Search Console reports “Excluded by ‘noindex’ tag”
  • A staging-wide noindex made it into the production build

How VibeCheck catches it

In your widget · Problems

errorseoPage is set to "noindex"

To your coding agent · MCP

agent › get_detected_issues
{ detector: "seo", issue: "Page is set to "noindex"", threshold: "<meta name="robots" content> includes 'noindex'" }

The same string in your widget and in your agent’s context — no screenshot, no copy-paste.

Root causes

  • A staging/preview environment’s global noindex shipped to production
  • An environment flag that toggles noindex is misconfigured in prod
  • A CMS “hidden” toggle was left on for a live page

The fix for Svelte

Guard the noindex tag by environment inside <svelte:head>.

svelte
<svelte:head>
  {#if !import.meta.env.PROD}
    <meta name="robots" content="noindex" />
  {/if}
</svelte:head>

Steps

  1. Search the codebase for “noindex” (meta tag and X-Robots-Tag header)
  2. Ensure production never emits it; gate it strictly to non-prod
  3. Request re-indexing in Search Console once removed

See the general, framework-agnostic fix →

FAQ

How fast will my page come back after removing noindex?
It returns on the next crawl, which can be hours to weeks. Request indexing in Google Search Console to speed it up once the tag is gone.
Is there a header version of noindex I might be missing?
Yes — the X-Robots-Tag HTTP header does the same thing and is easy to overlook. Check your server/CDN config as well as the meta tag.
What is the correct tag for pages I do want indexed?
You do not need any robots tag for the default indexable behaviour. Only add a robots meta when you specifically want to restrict indexing.