Skip to content
Documentation
Rule catalogue

indexing.not-excluded

A target declared out of the index must not serve a page Google may index

errorsite-widevendor-spec

Why it matters

You said this host stays out of search, and this page can go in: robots.txt lets Googlebot fetch it and nothing on it says otherwise. That is how a staging environment ends up ranking beside the production site it duplicates, with its unfinished copy and its test data. Only fires under --expect-indexing no, so it cannot mistake a public site for a leak.

What the finding looks like

The message goflag prints, with example values substituted.

error indexing.not-excluded This page is free to enter Google's index on a target declared out of it (--expect-indexing no): robots.txt lets Googlebot fetch it and nothing on it says noindex to Google.

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.