Skip to content
Documentation
Rule catalogue

indexing.site-excluded

A target declared in the index must not say noindex on its home or on every page

errorsite-widevendor-spec

Why it matters

A staging build that reached production looks exactly like this: every page perfect, every page telling Google to drop it, and traffic falling with nothing visible in a browser. Production legitimately has noindex pages, so this names only the home page, the one the audit started from or landed on, or every page when all of them say it. A noindex addressed to another crawler does not count. Other pages stay out of it, and one the sitemap lists is sitemap.entry.noindex. Only fires under --expect-indexing yes.

What the finding looks like

The message goflag prints, with example values substituted.

error indexing.site-excluded The home page says noindex on a target declared in the index (--expect-indexing yes). Google drops such a page from its results once it reads that.

How to fix it

The catalogue carries no snippet for a site rule: a cross-page rule builds its remedy from what the crawl found, so goflag attaches the fix to the finding itself rather than to the rule. Run it and read the finding.

Says who?

This rule is vendor-spec, and it cites the documents below. Nothing here is goflag’s opinion of what a good page looks like — if you disagree with a finding, this is what you are disagreeing with.