Check What Googlebot Sees: Bot Checks, Firewalls and “One Moment, Please…” Pages
Shared hosts often add bot protection, a web application firewall or rate limits in front of your site. Most of the time they only stop bad bots. Sometimes they show a crawler a “One moment, please…” or “Access denied” page instead of your content, and some of these pages come back as 200 OK. Your own browser usually gets through, so you never notice. This guide shows how to spot it from outside, see the exact page Google received, and ask your host for a fix that lets Google in.
Warnings
ImportantDon’t fix this by sending Google a different page from the one visitors get. Google’s spam policies define cloaking as showing different content to users and search engines to manipulate rankings or mislead users. Don’t allowlist crawlers by user-agent string either: Google says user agents can be spoofed. Leave your host’s security settings alone until you’ve asked them; turning protection off can let real attacks through.
What You Need
- Search Console access for the site, for URL Inspection.
- Python 3 in Termux:
pkg install python. See Run Python Scripts in Termux. - A phone on mobile data, so you test from a different network than your usual Wi-Fi.
How this was tested: We saved a real 12 KB “One moment, please…” challenge page that a shared host served in place of a page, and replayed it from a local Apache 2.4.71 server. The server returned it with 200 on some requests and the normal page on others, and returned 403 for a blocked page. challenge_check.py flagged every challenged round (3 of 4) and the 403, and never flagged the normal page. Python 3.13 and 3.12 gave the same results. On a live static site, 24 fetches of 8 pages came back clean. Search Console steps and reasons come from Google’s help pages.
Signs → check from outside → see Google’s copy → logs → fix with the host
Bot checks often come and go with traffic, so test more than once.
-
Step 1: Know the signs in Search Console
In the Page indexing report, these reasons can point to a bot check or firewall:
- Soft 404: a challenge page served with 200 looks like an empty or error page.
- Blocked due to access forbidden (403) and Blocked due to unauthorized request (401): Google says Googlebot never provides credentials, so a 403 sent to Googlebot is a server mistake.
- Server error (5xx): overload protection or a firewall error page.
- Page indexed without content: Google says the page might be cloaked to Google or in a format it can’t index.
How to read the rest of the report: Fix Search Console Page Indexing Report Errors.
-
Step 2: Check your pages from outside
Save this as
challenge_check.py. It fetches each URL a few times, two seconds apart. It flags anything that isn’t 200, a bot-check title, a missing or mismatched canonical, and a small page that reloads itself. Add the title your host’s page uses toCHECK_TITLES.#!/usr/bin/env python3 """Fetch your own pages a few times and flag bot-check or error pages. Usage: python3 challenge_check.py URLS.txt [ROUNDS] URLS.txt has one full URL per line. ROUNDS defaults to 3. """ import re, sys, time, urllib.error, urllib.request UA = ("Mozilla/5.0 (Linux; Android 15) AppleWebKit/537.36 " "(KHTML, like Gecko) Chrome/141.0.0.0 Mobile Safari/537.36") CHECK_TITLES = ["one moment, please", "just a moment", "checking your browser", "access denied", "attention required"] # add what your host shows def fetch(url): req = urllib.request.Request(url, headers={"User-Agent": UA, "Accept": "text/html"}) try: r = urllib.request.urlopen(req, timeout=20) except urllib.error.HTTPError as e: r = e return r.status, r.geturl(), r.read(3_000_000).decode("utf-8", "replace") def problems(url, status, final, html): found = [] if status != 200: found.append(f"HTTP {status}") m = re.search(r"<title[^>]*>(.*?)</title>", html, re.I | re.S) title = m.group(1).strip() if m else "" if any(t in title.lower() for t in CHECK_TITLES): found.append(f'bot-check title "{title}"') if status != 200: return found canon = re.search(r'<link[^>]+rel=["\']canonical["\'][^>]*>', html, re.I) href = re.search(r'href=["\']([^"\']+)', canon.group(0)) if canon else None if not href: found.append("no canonical tag") elif href.group(1) != final: found.append(f"canonical is {href.group(1)}") if len(html) < 20000 and re.search(r'http-equiv=["\']refresh|location\.reload', html, re.I): found.append("small page that reloads itself") return found def main(): if len(sys.argv) < 2: sys.exit(__doc__) urls = [u.strip() for u in open(sys.argv[1]) if u.strip().startswith("http")] rounds = int(sys.argv[2]) if len(sys.argv) > 2 else 3 bad = {u: [] for u in urls} for r in range(1, rounds + 1): for url in urls: status, final, html = fetch(url) found = problems(url, status, final, html) print(f"round {r} {'FLAG' if found else 'ok '} {status} {len(html):>7} chars {url}") for f in found: print(f" - {f}") if found: bad[url].append(r) time.sleep(2) print("\nSummary:") for url, hits in bad.items(): print(f" {'CHECK' if hits else 'clean'} {url}" + (f" (flagged in round {', '.join(map(str, hits))} of {rounds})" if hits else "")) if __name__ == "__main__": main()Put one URL per line in
urls.txt(home page, a hub, a few articles), switch your phone to mobile data, and run:python3 ~/challenge_check.py urls.txt 4
Output from our test server (its address is replaced with example.com here):
round 1 FLAG 200 12055 chars https://example.com/sim/page/ - bot-check title "One moment, please..." - no canonical tag - small page that reloads itself round 1 ok 200 1477 chars https://example.com/tutorials/good-guide/ round 1 FLAG 403 239 chars https://example.com/sim/blocked/ - HTTP 403 Summary: CHECK https://example.com/sim/page/ (flagged in round 1, 2, 4 of 4) clean https://example.com/tutorials/good-guide/ CHECK https://example.com/sim/blocked/ (flagged in round 1, 2, 3, 4 of 4)A clean run doesn’t prove Google gets through, because the host may treat Google’s IP addresses differently. It does show whether people and other tools are being challenged.
-
Step 3: See the exact page Google received
In Search Console, inspect the URL and click Test live URL. Then click View tested page. Google’s help page says it shows a screenshot of the rendered page, the raw HTML, the HTTP headers, JavaScript console output and the page resources. Check that:
- the screenshot shows your page, not a spinner or “verifying” message,
- the HTML has your real
<title>and canonical, - the status in the HTTP response is 200.
For the copy Google indexed, use View crawled page on the Google Index tab. The live test fetches as
Google-InspectionTool, not Googlebot, and Google sets a daily limit of live tests per property, so test your key pages rather than every URL. -
Step 4: Check the logs for Google’s status codes
The script in Find Googlebot in cPanel Access Logs counts only requests from Google’s published crawler IP ranges. Look for status codes like
403,429or503on normal pages, and for 200 responses that are much smaller than that page usually is. Depending on where the protection runs, its responses may never reach your site’s log, so a clean log doesn’t rule this out. -
Step 5: Ask your host for a crawler-safe setting
Send your host the URL, the time, and the screenshot or HTML from step 3, and ask:
- Which feature served this page (bot protection, firewall, rate limiting)?
- Can it skip requests from Google’s published crawler IP ranges? Google publishes them as JSON files, starting with
common-crawlers.json, and documents a reverse DNS check. - Under heavy load, can it send
503or429instead of a challenge? Google says those codes slow its crawling, and that it retries those URLs for about two days. Google also says not to use401or403to limit crawl rate.
-
Step 6: Re-test, then ask Google to recrawl
Run
challenge_check.pyand the live test again. When the screenshot shows your page, click Request indexing for your most important URLs. In the Page indexing report, click Validate fix on each reason you fixed. For many URLs, an updated sitemap and IndexNow are better: see Get New Pages Crawled.
Recheck after traffic spikes
FAQ
Is a bot check page cloaking?
Google defines cloaking as showing different content to users and search engines to manipulate rankings or mislead users. A challenge page isn’t that, but Google can only index what it receives, so you want Google to get the same page visitors get.
Why does my own browser never see the challenge?
Checks can depend on the network, request rate and browser features. The challenge page we captured ran a script that checked the browser’s plugins, languages and automation flag before letting it through.
Can Googlebot get through a JavaScript challenge?
Don’t count on it. Check the URL Inspection screenshot. If it shows the challenge instead of your page, Google’s tools didn’t get through.
Is the URL Inspection live test exactly what Googlebot sees?
Close, but not identical: it fetches as Google-InspectionTool, and a host may treat it differently. Use it together with your logs.
Related Byteslip guides
- Find Googlebot in cPanel Access Logs With Python — see what Google actually requested.
- Fix Search Console Page Indexing Report Errors — the reasons this problem causes.
- Custom 404 Pages and Soft 404 Fixes in .htaccess — other causes of soft 404s.
- HTTPS, HSTS and Security Headers on Shared Hosting — security settings that don’t block crawlers.
Official docs
Reasons (Soft 404, 401, 403, 5xx, Page indexed without content): Page indexing report. Live test, View tested page, Google-InspectionTool and the daily limit: URL Inspection tool. Cloaking: Spam policies for Google web search. Verification and IP ranges: Verify requests from Google crawlers. User-agent spoofing: Google’s common crawlers. 503, 429 and the two-day retry: Troubleshoot crawling errors. 401 and 403 for crawl rate: How HTTP status codes affect Google’s crawlers.
