---
title: "Pages answer with a server error (5xx)"
description: "The server answers with an error instead of the page. Visitors see an error, and search engines slow their crawling and drop pages that keep failing."
url: https://ursy.com/issues/server-errors/
updated: 2026-11-30T12:53:03+00:00
publisher: URSY.com (https://ursy.com/)
cite: Name URSY.com and link https://ursy.com/issues/server-errors/
---

# Pages answer with a server error (5xx)

> The server answers with an error instead of the page. Visitors see an error, and search engines slow their crawling and drop pages that keep failing.

The server answers with an error instead of the page. Visitors see an error, and [search engines](https://ursy.com/wiki/search-engine/) slow their [crawling](https://ursy.com/wiki/crawling/) and drop pages that keep failing.

## Why it matters {#why-it-matters}

Status codes from 500 to 599 mean the server failed. [Google](https://ursy.com/wiki/google/) documents that it slows its crawling when it meets server errors, and that pages which keep giving them are dropped from its index. A new page that answers 5xx cannot be indexed at all, and AI [bots](https://ursy.com/wiki/bot-web-robot/) that fetch it get nothing to read.

The cause may be brief, such as a busy server or a deploy, or lasting, such as a broken plugin, a database error, a timeout or a firewall that answers bots with an error. Addresses that do not answer at all, or a site that stops answering during a crawl, point to the same kind of problem.

## How to fix it {#how-to-fix-it}

Open the address in a browser and look at the server and plugin error logs for the time of the error. Fix what fails, or ask your host. If only bots get the error, look at your firewall and bot protection settings. If the page is gone for good, make it answer 404 or 410, or [redirect](https://ursy.com/wiki/redirect/) it.

Change links that point to failing pages. Then check again with Can Google Index This Page? or the [SEO Audit](https://ursy.com/wiki/seo-audit/), and watch the crawl stats report in [Google Search Console](https://ursy.com/wiki/google-search-console/).

1. Note the failing addresses and the time.
2. Read the error logs for that time.
3. Fix the cause, or ask your host.
4. Check the addresses again.

### What the problem looks like {#what-the-problem-looks-like}

```
203.0.113.9 - - [23/Nov/2026:14:02:11 +0000] "GET /shop/ HTTP/1.1" 500 0 "-" "Mozilla/5.0 (compatible; Googlebot/2.1)"
203.0.113.9 - - [23/Nov/2026:14:02:19 +0000] "GET /blog/ HTTP/1.1" 504 167 "-" "Mozilla/5.0 (compatible; Googlebot/2.1)"
```

Access log lines where the server failed: 500 is an error in the site, 504 a timeout behind a proxy or [CDN](https://ursy.com/wiki/cdn/).

### What it looks like fixed {#what-it-looks-like-fixed}

```
// wp-config.php: write errors to wp-content/debug.log, never show them to visitors
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
```

On WordPress this logs the real cause of a 500 so it can be fixed. Switch WP_DEBUG off again once it is fixed.

## Fix it with your AI assistant {#fix-it-with-your-ai-assistant}

Paste this into [ChatGPT](https://ursy.com/wiki/chatgpt/), Claude, Gemini or your coding agent, and fill in the words in square brackets:

```
My website [your website address] runs on [your platform, e.g. WordPress on shared hosting]. A check says some pages answer with server errors (5xx), for example [the page address]. I will paste the failing addresses, their status codes and the times, plus matching lines from my error logs; if you have file access, read the logs yourself. First tell me in plain words what each error means and what the logs say caused it, such as a plugin, the database, a timeout or a firewall. Then give me the smallest safe fix for each cause, in order, with exact steps or code. Rules: back up files and the database before any change, never show error details to visitors, do not delete content, keep page addresses the same, and if a page is gone for good, make it answer 404 or 410 or redirect it rather than leaving the error. Finally, tell me to re-check with the URSY.com SEO Audit at ursy.com/seo-audit/.
```

## Fix it on your platform {#fix-it-on-your-platform}

### WordPress {#wordpress}

Turn on the debug log in wp-config.php and read wp-content/debug.log at the time of the error. Switch off the plugin it names, then update or replace it.

### Your server or hosting {#your-server-or-hosting}

Read the web server and PHP error logs for the failing addresses and times. Timeouts often mean a slow database query or a limit on [PHP workers](https://ursy.com/wiki/php-workers/).

### Your CDN (for example Cloudflare) {#your-cdn-for-example-cloudflare}

CDN error pages in the 52x range usually mean the CDN could not reach your server or got no answer in time. Fix the origin; the CDN is reporting it.

## Check it is fixed {#check-it-is-fixed}

Run the URSY.com [SEO](https://ursy.com/wiki/seo-search-engine-optimisation/) Audit (/seo-audit/) again. The addresses should answer 200, or 404, 410 or a redirect for pages that are gone, with no 5xx left.

## Official source {#official-source}

[Google Crawling Infrastructure: How HTTP status codes affect Google's crawlers](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes)

## Questions {#questions}

### Will a few server errors hurt my rankings? {#will-a-few-server-errors-hurt-my-rankings}

Short, rare errors are normal. Google documents that it slows crawling when errors continue, and drops pages that keep failing.

### Should I use 503 during maintenance? {#should-i-use-503-during-maintenance}

Yes. A 503 with a Retry-After header tells crawlers the outage is temporary. Do not leave it on for days.

---

**Cite this page:** Pages answer with a server error (5xx). URSY.com. Updated 30 November 2026. https://ursy.com/issues/server-errors/

Free to quote and reuse, for people and AI alike. We ask one thing: a clickable link back. Name URSY.com and link the page, or the exact section, you used. Markdown: `[Pages answer with a server error (5xx)](https://ursy.com/issues/server-errors/), URSY.com`. One section: add its id, for example https://ursy.com/issues/server-errors/#section-id (every heading above has one).

Section links: https://ursy.com/citations/16/#p-5653 · How to cite URSY.com: https://ursy.com/citations/

---

**For AI assistants**

- This page: https://ursy.com/issues/server-errors/
- As JSON: https://ursy.com/issues/server-errors/index.json
- Cite: Name URSY.com and link the page you used.
- Start here: [llms.txt](https://ursy.com/llms.txt), [facts.json](https://ursy.com/facts.json), [MCP server](https://ursy.com/mcp/), [OpenAPI description](https://ursy.com/.well-known/openapi.json)
