How to fix “Server error (5xx)” on WordPress
If Search Console shows “Server error (5xx)” on your WordPress site, you are in the right place. The server returned a 5xx error to Googlebot. This page covers the causes and a step-by-step fix for WordPress. The most widely used open-source CMS. Most indexing controls live in an SEO plugin such as Yoast SEO, Rank Math or All in One SEO.
Contents
What does this status mean?
The server answered Googlebot with 500, 502, 503 or a similar error. If errors persist Google slows crawling and may start dropping URLs from the index.
Likely causes on WordPress
- The server is overloaded or hit a resource limit.
- A bug in application code crashes on specific URLs.
- A firewall, rate limit or bot protection blocks Googlebot.
- A temporary outage during maintenance or deployment.
- WordPress note: A caching plugin, image compression and decent hosting raise crawl speed. Remove unused plugins; a slow server makes Googlebot crawl less.
Step-by-step fix on WordPress
- In your WordPress admin go to: Settings > Reading and the post or page box of your SEO plugin.
- A caching plugin, image compression and decent hosting raise crawl speed. Remove unused plugins; a slow server makes Googlebot crawl less.
- Find the 5xx entries from Googlebot request times in your server error logs and fix the cause.
- Verify that firewall and CDN rules do not block Googlebot.
- Use 503 with a Retry-After header for planned maintenance rather than a blank page with 200.
- Increase server capacity and caching, and watch the server error rate in Search Console crawl stats.
- When fixed, start validation and resend important URLs.
Extra checks for WordPress
- robots.txt: WordPress serves a virtual robots.txt; edit it in your SEO plugin or replace it with a real file in the web root. Review any Disallow lines beyond /wp-admin.
- canonical and duplicate URLs: Core and SEO plugins add the canonical tag automatically; override it per post in the plugin canonical field. Check whether category, tag and paginated archives are indexed on their own.
After fixing
In Search Console start "Validate fix" for this status and resubmit the page with URL inspection. First confirm the blocker is gone with the free Free indexability checker tool; for many URLs follow Bulk URL indexing: how to send thousands of pages to Google. Google makes the indexing decision itself and timing ranges from days to weeks.
More information
Frequently asked questions
Does a brief 5xx matter?
Google tolerates a brief outage. Errors lasting days can cause index loss.
How do I know if my server blocks Googlebot?
Run a live test in URL inspection; if it errors while the site opens in a browser, blocking is likely.
Where are these settings on WordPress?
Settings > Reading and the post or page box of your SEO plugin.