Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Server errors (5xx) in Search Console Page indexing: how to fix

SEO-285High impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Every web request gets a status code. Codes starting with 5 mean the server failed, not the visitor. Common ones are 500 (generic error), 502 (bad gateway), 503 (service unavailable) and 504 (gateway timeout).

In Google Search Console, go to Indexing > Pages. If Googlebot received such a code, the URL appears under Server error (5xx) in the "Why pages aren't indexed" list. Google retries, but if errors persist it can drop the page from the index.

Why it costs you leads or sales

A page Google cannot fetch cannot rank. If the errors hit your service, product or landing pages, they can vanish from search results. Google also slows its crawling of a host that keeps failing, so new and updated pages get picked up later.

The same fault often hits real visitors too. Anyone who lands on an error page, or fails to submit a form during an outage, is lost.

How a 5xx error removes a page from search
  1. Googlebot requests URLCrawl is scheduled
  2. Server returns 5xxOverload, crash or timeout
  3. Page not indexedOr dropped from the index
  4. No organic visitsLeads and sales missed

The break happens at the server, before Google sees any content.

Organic visits to an affected pageExample numbers
Organic visits to an affected page (example)Before errors: 400 visits per week; During errors: 120 visits per week; After fix: 380 visits per week0153307400120380Before errorsDuring errorsAfter fixvisits per week

Example: illustrative numbers showing traffic falling while errors persist and recovering after the fix.

How to check if your site has it

Find the failing URLs
  1. Open the Page indexing report

    In Search Console choose Indexing > Pages and scroll to Why pages aren't indexed. Click Server error (5xx).

  2. Note the pattern

    Look at the trend chart and the example URLs. Are they one section, one template, or random? Did it start on a date you changed something?

  3. Run Inspect URL

    Paste a sample URL in the top bar, then use Test live URL. This shows whether the error is still happening now.

  4. Test from your side

    Request the URL with a Googlebot-style user agent and read the status code.

  5. Check server logs

    Search your host's error and access logs for 5xx responses at the times Googlebot visited. Also check Settings > Crawl stats for host status and response time.

Check the status code a crawler-like request getsbash
curl -s -o /dev/null -w "%{http_code}\n" -A "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" https://example.com/your-page/

How to fix it

The fix depends on the cause. Match what you found in the logs to the table, then follow the steps.

Common causes of 5xx errors and where to look
CodeTypical causeWhere to look
500Crashing code, plugin or theme error, bad configApplication and PHP error logs
502Proxy or PHP process failed or restartedWeb server and proxy logs
503Overload, maintenance mode, rate limitingHost resource graphs, firewall
504Slow backend, long database queriesSlow query log, timeout settings
Fix the server errors
  1. Fix the cause in the logs

    Roll back the recent deploy, plugin or theme update that matches the start date. Repair the failing code path or config.

  2. Add capacity or caching

    If the server is overloaded, add page caching, a CDN, or move to a larger plan.

  3. Do not block Googlebot by mistake

    Check that your firewall, security plugin or rate limiter is not returning 5xx or 429 to crawlers. Allow verified Googlebot rather than disabling protection.

  4. Use 503 for planned downtime

    During maintenance return 503 with a Retry-After header, and keep it short. Long 503 periods can lead Google to drop URLs.

  5. Confirm with a live test

    Re-run Test live URL on several affected pages until they return 200.

Platform specifics
  1. Turn on debug logging

    In wp-config.php set WP_DEBUG and WP_DEBUG_LOG to true, then read wp-content/debug.log. Turn it off afterwards.

  2. Isolate plugins and theme

    Deactivate plugins one by one, or switch to a default theme on a staging copy, to find the one causing 500s.

  3. Check PHP limits

    Ask your host about PHP memory limit, max workers and timeouts. Add page caching to cut load.

Nginx: short maintenance response that tells crawlers to come backnginx
error_page 503 @maintenance;
location @maintenance {
    add_header Retry-After 3600 always;
    default_type text/html;
    return 503 '<h1>Back soon</h1>';
}

How to confirm it's fixed

Validate in Search Console
  1. Test live

    Use Inspect URL > Test live URL on affected pages and confirm they load with status 200.

  2. Start validation

    In Indexing > Pages open Server error (5xx) and click Validate fix.

  3. Watch the result

    Validation can take days. Google emails you when it passes or fails. If it fails, check the remaining URLs for new errors.

  4. Watch Crawl stats

    In Settings > Crawl stats, server errors and average response time should fall.

How to prevent it happening again

Prevention checklist
  • Set up uptime monitoring and error alerts on your server or host
  • Test plugin, theme and code updates on staging before going live
  • Use page caching or a CDN so traffic spikes do not overload the origin
  • Review server resource graphs after campaigns and big crawls
  • Make sure firewall and security rules allow verified Googlebot
  • Check the Page indexing and Crawl stats reports regularly

How FunnelGuard handles this

This issue is outside what FunnelGuard checks. FunnelGuard runs your customer journeys, such as forms, checkouts and tracking hits, on a schedule. It does not read Search Console's Page indexing report or Googlebot's crawl results.

The kind of tool that fits is Search Console itself (Page indexing and Crawl stats) combined with server uptime and log monitoring from your host or an uptime monitor. Those show what Googlebot received and when your server failed.

Questions people ask

What does Server error (5xx) mean in Google Search Console?

It means Googlebot requested a URL and your server replied with an error in the 500 range, such as 500, 502, 503 or 504. Google could not fetch the page, so it was not indexed or was removed. The cause is on the server side, not in the page content.

Why is my site showing 5xx errors only to Googlebot?

Usually because of load, timeouts or security rules. A firewall, rate limiter or bot protection may block or throttle crawler requests, or Googlebot may hit slow pages when the server is busy. Check server logs for the crawl times rather than testing only in your browser.

How do I fix server error (5xx) in Search Console?

Open Indexing > Pages > Server error (5xx), inspect example URLs, and find the cause in your server logs. Fix it by rolling back faulty code, adding capacity or caching, or loosening rules that block crawlers. Then click Validate fix.

Will 5xx errors hurt my Google rankings?

Brief errors are usually retried and cause little harm. If they persist, Google can drop affected URLs from the index and crawl your site less often. Pages that are not indexed cannot rank.

How long does Google take to validate a 5xx fix?

Validation can take several days, sometimes longer on big sites. Google rechecks the listed URLs and emails you with the result. Make sure the pages return 200 before you start it.

Should I use a 503 or a 500 during maintenance?

Use 503 with a Retry-After header for planned, short downtime. It tells crawlers the outage is temporary. Keep it short, because a long run of 503 responses can lead Google to drop URLs.

Can a plugin cause server errors in Search Console?

Yes. On WordPress, a faulty or heavy plugin or theme can cause 500 errors or timeouts. Check the debug log, then disable plugins one at a time on a staging copy to find the culprit.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

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.