Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Intermittent 5xx errors seen by Googlebot: how to find and fix

SEO-074High impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

A 5xx status code is a server error. The server received the request but could not complete it. Common ones are 500 (generic failure), 502 (bad gateway), 503 (service unavailable) and 504 (gateway timeout).

"Intermittent" means it does not happen every time. A page may load fine for you ten times and fail for Googlebot on the eleventh. Googlebot crawls in bursts, at odd hours, and often requests many URLs at once, so it can hit weak spots that normal visitors rarely reach.

Why it costs you leads or sales

Google's documentation says that when a site returns many server errors, Googlebot reduces how fast it crawls. If errors persist, URLs that keep failing can drop out of the index. Your landing pages, product pages and lead pages then show up less in search, or not at all.

The damage is quiet. Rankings slip gradually, new pages take longer to be indexed, and updated prices or content take longer to appear. Nothing looks broken when you visit the site.

How a flaky server loses organic leads
  1. Googlebot requests pageCrawl burst hits your server
  2. Server returns 5xxOverload, timeout or block
  3. Page not refreshed or indexedCrawl rate may be reduced
  4. Search visibility dropsFewer organic visits
  5. Fewer leads and salesFewer form fills and orders

The failure happens at the crawl step, so everything after it is lost.

Crawl requests answered successfullyExample numbers
Crawl requests answered successfully (example)Before fix: 91 %; After fix: 99.5 %038769199.5Before fixAfter fix%

Example: share of Googlebot requests that return 200 before and after a server fix. Your numbers will differ.

How to check if your site has it

Find the 5xx errors Googlebot sees
  1. Open Crawl Stats in Search Console

    Go to Settings, then Crawl stats, then Open report. Look at the 'By response' table for server errors (5xx) and at the Host status for availability problems.

  2. Check Page indexing

    In Indexing, then Pages, look for the reason 'Server error (5xx)' and open it to see example URLs.

  3. Search your server logs

    Filter requests whose user agent contains Googlebot and whose status starts with 5. Note the URLs, times and patterns, such as a certain hour or a certain URL type.

  4. Verify it is really Googlebot

    Fake bots use the Googlebot name. Confirm with a reverse DNS lookup, or use the Crawl Stats report, which only lists real Google requests.

  5. Check your host's error and resource logs

    Look for PHP fatal errors, out-of-memory kills, database connection errors, and CPU or process limits reached at the same times.

Count Googlebot 5xx responses per URL (common Apache/Nginx log format)bash
grep -i googlebot access.log | awk '$9 ~ /^5/ {print $9, $7}' | sort | uniq -c | sort -rn | head -20

How to fix it

The fix depends on the cause. Match the pattern in your logs to the likely culprit first.

Common patterns and likely causes
PatternLikely causeWhere to look
Errors at the same time each dayBackups, cron jobs or scheduled imports eating resourcesCron schedule, backup plugin
Mostly 503 during crawl burstsServer overload or rate limitingHosting resource graphs, firewall rules
502 or 504 on heavy pagesSlow database queries or PHP timeoutsSlow query log, PHP max_execution_time
500 on specific URLs onlyCode or plugin error on that templateError log, recent plugin or theme changes
Errors only for GooglebotSecurity tool or CDN rule blocking or throttling the crawlerWAF, CDN and bot settings
Fix the cause
  1. Reduce load on the server

    Add page caching or a CDN so crawlers get stored copies of pages instead of triggering heavy processing each time.

  2. Fix slow or failing code

    Use the error log to find the failing plugin, theme function or query. Update, replace or remove it, and add database indexes for slow queries.

  3. Move heavy jobs off crawl hours

    Reschedule backups, imports and cron tasks so they do not overlap with busy periods.

  4. Allow real Googlebot through

    Check that your firewall, CDN or security plugin does not rate limit or block verified Googlebot. Do not disable protection altogether; allow only verified Google crawlers.

  5. Upgrade resources if needed

    If graphs show you hitting CPU, memory or process limits, move to a bigger plan or a better host.

  6. Use 503 with Retry-After only for planned downtime

    For short maintenance, a 503 with a Retry-After header tells Google to come back later. Do not use it as a permanent state.

Platform-specific actions
  1. Turn on page caching

    Use a caching plugin or your host's built-in cache so most requests skip PHP and the database.

  2. Find the failing plugin

    Enable WP_DEBUG_LOG in wp-config.php, read wp-content/debug.log, then deactivate suspect plugins on a staging copy to test.

  3. Check PHP limits

    Ask your host to raise the PHP memory limit and worker count if logs show memory or worker exhaustion.

Example: send a 503 with Retry-After for planned maintenance onlynginx
location / {
    add_header Retry-After 3600 always;
    return 503;
}
A crawl request that fails

Googlebot asks for a page, the server errors out, and the page is not refreshed.

How to confirm it's fixed

Confirmation checklist
  • Server logs show no 5xx responses to verified Googlebot over several days
  • Crawl Stats shows the server error share falling and Host status staying healthy
  • Example URLs under 'Server error (5xx)' in Page indexing pass Validate Fix
  • Hosting graphs stay below CPU, memory and process limits during crawl bursts
  • Key pages return 200 when you fetch them repeatedly
  • URL Inspection live test shows the page as available to Google

In Page indexing, open the 5xx issue and click Validate fix. Google rechecks the URLs over the following days. Crawl rate recovers gradually, so give it time.

How to prevent it happening again

Prevention habits
  • Keep page caching or a CDN in front of your key pages
  • Alert on server errors and resource limits at your host
  • Schedule backups and heavy jobs outside busy hours
  • Test plugin, theme and app updates on a staging copy first
  • Review Crawl Stats monthly and after big site changes
  • Review firewall and bot rules after any security change

How FunnelGuard handles this

FunnelGuard detects this issue only partly. Its scheduled runs catch failures at run time: when the robot visitor runs your journeys and a page or step fails, that failure is re-checked from a second region and you get one alert with a screenshot and a likely cause.

What it does not do: it is not Googlebot, and it only sees what happens when a scheduled run happens. A brief 5xx that hits Googlebot between runs, or only under crawl-burst load, can be missed. It does not read your server logs or Search Console data.

To cover the rest by hand, check Crawl Stats and Page indexing in Search Console, and review your server logs for Googlebot 5xx responses at least monthly. FunnelGuard's Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans include a 3-day free trial.

Questions people ask

Why is Googlebot getting 5xx errors when my site loads fine for me?

Googlebot crawls in bursts and at odd hours, which can overload a weak server or trigger rate limits that normal visitors never hit. Caches also hide problems from you, because you often see a stored copy. Check Crawl Stats and your server logs for the real picture.

Do 5xx errors hurt SEO?

Yes, if they keep happening. Google slows its crawling of sites that return many server errors, and URLs that keep failing can drop out of the index. A few isolated errors that clear up quickly usually do no lasting harm.

How do I find 5xx errors in Google Search Console?

Open Settings, then Crawl stats, and check the 'By response' table and Host status. Also open Indexing, then Pages, and look for 'Server error (5xx)' to see example URLs.

How long does it take Google to recover after I fix 5xx errors?

Google rechecks failing URLs over days and raises its crawl rate gradually once responses are healthy again. Click Validate fix in Search Console to prompt a recheck. Exact timing varies by site and how long the errors lasted.

Should I return a 503 when my site is overloaded?

A 503 with a Retry-After header is the right signal for short, planned downtime, because it tells Google to return later. It should not be your normal response under load, and leaving it on for days can cause pages to be dropped.

Can my firewall or CDN cause 5xx errors only for Googlebot?

Yes. Security plugins, WAFs and CDN rules can throttle or block crawlers and return errors such as 403, 429 or 5xx. Allow verified Googlebot through instead of disabling protection.

Can FunnelGuard tell me if Googlebot is seeing 5xx errors?

Only partly. FunnelGuard's scheduled runs catch failures at the moment they run, but it is not Googlebot and does not read your logs or Search Console. Check those by hand to see what Google actually received.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: Scheduled runs catch failures at run time.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.