For developers and startups

Live for a week and still not in Google: the noindex you forgot from staging

Disallow: /, an X-Robots-Tag header or a meta robots noindex left from staging — on every page, and in the sitemap.

  • robots.txt
  • X-Robots-Tag
  • Vercel
  • Netlify

A new site that does not appear in Google is very often blocked by its own settings: Disallow: / in robots.txt, an X-Robots-Tag: noindex header set by the host for previews, or a meta robots noindex left from a staging branch. Each can apply to some pages only, so checking the home page is not enough.

Search Google for site:yourdomain.com. If nothing comes up after a week, open yourdomain.com/robots.txt and look for Disallow: /, then View source and search for noindex.

01

Every page's directives

The Directives tab lists noindex, nofollow and nosnippet per page, and marks the ones set by the X-Robots-Tag header rather than the HTML.

02

robots.txt as Google reads it

The crawl reads robots.txt and shows which pages it blocks, so a stray Disallow shows up as blocked pages, not as a missing one.

03

The sitemap against reality

Sitemaps shows non-indexable pages that are still in a sitemap, and indexable pages missing from it.

The same three checks for one URL from a terminal:

# the three places a site tells Google to stay away
curl -s https://example.com/robots.txt            # look for: Disallow: /
curl -sI https://example.com | grep -i x-robots-tag # look for: noindex
curl -s https://example.com | grep -io '<meta name="robots"[^>]*>'
Can a staging site get indexed instead?
Yes, if it is public and linked from somewhere. Protect previews with a password or a noindex header, and keep production clean.
I fixed robots.txt. When will Google come back?
After it crawls again; requesting indexing in Search Console can speed up the first pages.
Can GLLmolfar crawl a password-protected staging site?
Yes: Basic authentication is a setting, kept on your computer only.

Check the whole site, not one page

GLLmolfar crawls on your computer and checks every page the way search engines and AI crawlers read it.

See GLLmolfar