The 921K Phantom-Page Crawl Loop
How a firewall band-aid and an unmanaged inventory feed generated nearly a million duplicate URLs, burning 99.9% of a regional business’s crawl budget, and how I shut it down.
The Discovery
A site that needed 100 pages was reporting a million
During a technical infrastructure audit for a multi-regional perimeter and security contractor, I found a dramatic indexation bottleneck. A site that needed fewer than 100 high-intent pages to cover its geographic market was reporting an index footprint of nearly a million URLs, almost all flagged “Crawled, currently not indexed.”
Every rogue URL followed one database pattern: /items/[SKU-ID]/. Google was spending its daily crawl allowance wandering a digital wilderness of inventory IDs while ignoring the commercial, localized service pages that actually drove revenue.
The Forensics
A 403 that Google refused to give up on
To learn how Google was discovering these URLs without a sitemap entry, I ran deep URL inspections. Testing the paths in a browser returned an edge-security block; Search Console’s live inspection confirmed the fetch failed as “Blocked due to access forbidden (403).” That contradiction surfaced a classic architecture disconnect:
- The verified-bot loophole. The edge firewall passed standard Googlebot verification, so the crawler kept reaching the raw directory paths.
- The inventory leak. A backend catalog or ERP process was publishing individual inventory-item templates straight to the public front end.
- The 403 crawl trap. Because edge security returned a 403 Forbidden rather than a 404 or 410, Google read the barrier as a temporary fault and kept retrying the paths instead of dropping them.
Triage and Implementation
Reclaiming the budget, then closing it properly
Clearing nearly a million URLs through natural discovery can take months, so I implemented an immediate root-level block to isolate and reclaim the crawl budget, then handed engineering a clean architectural fix:
- Immediate directory isolation. A robots.txt disallow on /items/ intercepted the loop at the root layer, before requests ever reached the firewall.
- DOM review. Identified the template scripts emitting raw database strings as navigable elements on public layouts.
- Header migration. Specified converting the edge 403 response to an explicit 404 Not Found or 410 Gone across the /items/ directory, so Google would permanently drop the records over time.
The Outcome
99.9% of the crawl budget back on revenue pages
Isolating the loop returned effectively all of the wasted crawl budget to the pages that drive business: the localized, commercial service pages the contractor depends on. The fix also gave the engineering team a permanent close rather than a firewall band-aid.
See where you rank, and where you don’t
Get a free Local & AI Visibility Scorecard for your business. No obligation.
