The short answer
If your site has disappeared from Google but still loads fine in a browser, check what Googlebot is getting, not what you see. In this case the Cloudflare layer built into the hosting account had started answering Googlebot with 403 Forbidden, and Google drops pages that return a 403. Search Console’s URL Inspection and Crawl stats reports showed it, and turning that Cloudflare layer off fixed it the same day.
In November, a London restaurant’s website that had been getting a steady stream of visitors from Google dropped out of the search results within a few days. Searching for the restaurant’s name no longer brought up its own website, and a site: search found a handful of menu PDFs and none of the pages.
The first question was the one I’d ask too: had someone left WordPress’s “Discourage search engines” box ticked? Nobody had. The cause was further out, in a layer nobody had looked at, and even the host’s support team couldn’t explain it.
The symptoms
- In Search Console, clicks and impressions fell away from about 20 November. By 24 November there was almost nothing.
- The restaurant’s own site no longer came up when you searched for its name.
- The site loaded normally on phones and laptops: for the owner, for me and for the host’s support team.
- The drop didn’t line up with any change we’d made to the site.

What I ruled out first
These are the usual reasons a site disappears from Google. They’re quick to check, so I always start with them:
- The “Discourage search engines” setting in Settings → Reading was off.
- robots.txt allowed everything that mattered.
- noindex: the pages said “index, follow”, there was no X-Robots-Tag header, and the SEO plugin’s settings were right.
- Manual actions, Security issues and Removals in Search Console were all empty.
- DNS hadn’t changed for weeks.
- Our own work: the drop started days before the most recent update to the site.
Every one of those came back clean.
What made it tricky
- It worked for everyone who looked. A block that only affects Google is invisible to the owner, to visitors and to the host.
- Google’s own testing tools said the page was fine. The Rich Results Test and URL Inspection’s “Test live URL” both fetched the page without a problem. Those tools use a separate crawler, Google-InspectionTool, not the Googlebot Smartphone crawler that indexes your site. A passing live test didn’t prove Googlebot could get in.
- You can’t easily pretend to be Googlebot. Cloudflare checks that a visitor claiming to be a verified bot such as Googlebot really is one, by its IP address and reverse DNS rather than the name it gives. Through Cloudflare, my own command-line tests got a challenge page whatever user agent I used, so they couldn’t show what the real Googlebot was getting.
- The hosting dashboard had a single switch for Cloudflare. The site was on Bluehost, which builds Cloudflare into its hosting. There were no logs, no security events and no rules to look at: just “Enable Cloudflare”, on or off.

How I tracked it down
1. The indexed result in URL Inspection
In Search Console’s URL Inspection, the result for the indexed page (not the live test) said Blocked due to access forbidden (403). The Page indexing report showed the same reason against the home page.

2. Crawl stats, by response
Under Settings → Crawl stats, the “Other client error (4XX)” responses had been close to zero for months, then jumped in the second half of November. The examples showed Googlebot being refused several times a day, on the home page, the gallery and the menu PDFs.

3. Crawl stats, by Googlebot type
This was the breakthrough. Broken down by Googlebot type, every recent Smartphone crawl had been refused. The home page’s last successful Smartphone crawl was on 19 November, and from early on 20 November every one was turned away. Over the same days, Google’s AdsBot fetched the same page and got 200 OK.

So Google could reach the site. The one Google crawler that matters for search couldn’t.
4. Ask the server directly
Next I sent a request straight to the hosting server, skipping Cloudflare, with Googlebot’s user agent:
curl -sI -A "Googlebot/2.1 (+http://www.google.com/bot.html)" \
--resolve example.co.uk:443:SERVER_IP https://example.co.uk/
It came back 200 OK, with the page set to index. WordPress, the theme and the plugins were serving Googlebot perfectly well, so the 403 was coming from the layer in front of the server.
One trap on shared hosting: use the IP address your site’s hostname really points at. My first try used the server’s outgoing IP address, which belongs to a different front end and gave a misleading error.
5. Check where the domain points
The domain used the host’s nameservers, and its A record pointed at an address on the host’s Cloudflare network, not at the server. So every visitor, Googlebot included, went through that Cloudflare layer first.
The cause
The Cloudflare layer built into the hosting account started refusing Googlebot Smartphone with 403 Forbidden on 20 November. Google’s documentation on HTTP status codes is clear about what happens next: it doesn’t index URLs that return a 4xx status, and URLs that are already indexed are removed once they start returning one. Over the next few days, the site’s pages dropped out of Google.
Why it started, I can’t tell you, and neither could the host. Bluehost’s support agreed the 403s most likely came from the Cloudflare security layer rather than the hosting server, but had no access to historical logs. The best they could say was that it “may have been temporary or related to a specific security rule”. Their advice was to leave Cloudflare off, or to watch Search Console closely for crawl errors if it goes back on.
The fix
- Before switching anything off, I checked that the server had its own valid SSL certificate for both the domain and www, so HTTPS would keep working without Cloudflare.
- In the hosting dashboard’s Performance tab, Cloudflare was switched off. The host’s own page caching stayed on.
- The domain soon pointed straight at the server, and responses no longer came through Cloudflare.
- The server’s access log showed real Googlebot, from Google’s own IP range, fetching pages with 200 OK by late morning.
- In Search Console, I requested indexing for the home page and the gallery page.
- The sitemap turned out to have a problem of its own: the SEO plugin was serving an old cached copy that left out the two newest pages, and it had never been submitted to Search Console. I cleared it and submitted it. I’ve written up that sitemap problem before, in why my WordPress sitemap stopped listing new posts.

The result
- The same morning, Googlebot Smartphone fetched the home page successfully, and URL Inspection showed it back on Google that day.
- By the next day, the restaurant’s site was back at the top of Google for its own name.
- Search Console’s traffic figures run a couple of days behind, so I’m watching the impressions come back rather than claiming they already have.
How to stop it happening to you
- Look at Search Console’s Page indexing report now and then. “Blocked due to access forbidden (403)” should never appear against a page you want in Google.
- Check Crawl stats by Googlebot type. For most sites, Smartphone is the crawler that matters, and nearly all of its responses should be 200 OK.
- Don’t treat a passing live test as proof. Look at the indexed result and the crawl stats too. They show what Googlebot itself received.
- Know what sits in front of your site. If your hosting includes a CDN or firewall you can’t configure, find out where its off switch is. If you want Cloudflare’s features, a Cloudflare account of your own lets you see security events and make sure verified bots such as Googlebot are let through.
- Make sure someone reads Search Console’s emails. Google does tell you about new indexing problems, but only the people on the account see it.
Time to fix: a few hours of digging to find, and one switch to fix.
Questions
Why did my site disappear from Google overnight?
The common causes are a noindex setting, robots.txt blocking Google, a manual action, a removal request, a DNS or hosting change, a hacked site, or Googlebot being refused by the server or by a firewall or CDN in front of it. Search Console’s URL Inspection will usually tell you which, as long as you read the indexed result and not just the live test. If you think the site has been hacked, websitefix.uk is the place to start.
Can Cloudflare block Googlebot?
Yes. Cloudflare normally recognises Googlebot as a verified bot and lets it through, but a security rule, firewall setting or bot setting that doesn’t make an exception for verified bots can still turn it away. When that happens, Search Console reports 403 or other 4XX errors while the site works fine in a browser.
How do I check whether Googlebot is being blocked?
Use URL Inspection on an important page and read the indexed result, check the Page indexing report for “Blocked due to access forbidden (403)”, and look at Crawl stats by response and by Googlebot type. Testing with a Googlebot user agent from your own computer isn’t reliable, because firewalls check where Googlebot’s requests come from, not just the name it gives.
Will a 403 error remove my pages from Google?
Yes, if it carries on. Google doesn’t index pages that return a 4xx error, and removes pages already in its index once they start returning one. 429 (too many requests) is the exception: Google reads it as a sign to slow down, although pages that keep failing for days can still drop out.
How long does it take to get back into Google after fixing it?
Here, Google crawled the home page successfully within hours of the fix, and the site was back for its own name the next day. On a bigger site it can take days or weeks for every page to be crawled again. Requesting indexing for your key pages and submitting a sitemap helps Google find them sooner.
If your site has dropped out of Google and you can’t see why, I can work through it with you. See WordPress support, or browse more case notes.
Written by Peter Claridge, who fixes WordPress sites for businesses across the UK from Reading. Last checked November 2026.