Skip to content
24/7 support · 7-day money-back guarantee · Free plan, no card neededSee plans

Blog › PHP and WordPress ›

WordPress fatal error or white screen: how it affects SEO and how to fix it fast

Cover image: WordPress fatal error or white screen: how it affects SEO and how to fix it fast

Few things feel worse than opening your website and seeing a blank page or the message that there has been a critical error on this website. For visitors it is a dead end. For search engines it is a signal that your site is unreliable. This guide explains how errors reach search engines, how long you can afford to be down, how to find and fix the usual causes in WordPress, and how to prevent a repeat. It focuses on the connection to SEO, because decisions made in the first hour can limit the damage.

Contents of the guide: WordPress fatal error or white screen: how it affects SEO and how to fix it fast
The main sections of this guide.

How search engines treat errors

When a crawler requests a URL, your server answers with a status code. A 200 means success. A 5xx code means a server problem, and 503 specifically means temporarily unavailable. Search engines treat short outages mildly: they usually retry later and keep your pages in the index. Extended or repeated server errors are different. Google’s documentation explains that when it sees persistent 5xx errors, it can reduce crawling and, if the problem continues for days, may begin to drop affected URLs from the index. The exact thresholds are not published, and you should not rely on any particular number.

A white screen is especially tricky because some misconfigured sites return a 200 status with an empty page. A blank page with a success code is worse than an honest error, because crawlers may treat it as real, empty content. Make sure your error pages return proper status codes.

What to do in the first ten minutes

First, confirm the scope. Is the whole site down or only some pages, the admin area or the front end? Check from another device and network. Check your host’s status page.

Second, set the right signal if the outage will last. If you will be down for more than a few minutes, a maintenance page that returns a 503 status with a Retry-After header tells crawlers it is temporary. Many maintenance plugins do this. Avoid returning 200 or 404 for a temporary outage.

Third, get the error message. WordPress often emails the site administrator a recovery mode link when a fatal error occurs, naming the plugin or theme at fault. Check the admin email inbox, including spam.

The usual causes

Most critical errors in WordPress come from a short list.

A plugin or theme update that conflicts with something else. The email or debug log names the file.

An incompatible PHP version. After switching PHP, an old plugin may use removed functions. The message names the function or file.

Running out of memory. The error mentions allowed memory size exhausted. Large imports, heavy plugins or too low a limit cause it.

A syntax error in custom code. Editing the theme functions file directly is a classic cause. A missing bracket takes the whole site down.

Corrupted files or a failed update. An interrupted core or plugin update leaves incomplete files, sometimes with a maintenance file stuck in the root folder.

Database problems. Connection errors show a different message about establishing a database connection, but corrupted tables or exhausted limits can also cause blank pages.

Server-level issues. Hosting outages, exhausted resources or a vulnerable PHP runtime that crashed workers.

How to diagnose it step by step

  1. Check the recovery mode email, which often identifies the culprit.
  2. Turn on debug logging by editing the configuration file: set the debug constant to true, the log constant to true and the display constant to false. Reload the page and read the log file in the content folder. The last fatal error line points to a file path.
  3. Use the path to identify the plugin or theme folder.
  4. Disable the culprit by renaming its folder through your host’s file manager or FTP. WordPress deactivates a plugin whose folder is missing. If you cannot tell which plugin, rename the whole plugins folder, check whether the site loads, then restore the folder name and re-enable plugins one at a time.
  5. If a theme is at fault, rename the active theme folder, and WordPress falls back to a default theme.
  6. If the log shows memory exhaustion, raise the memory limit in the configuration file or ask your host.
  7. If the log is empty, check your host’s PHP error log in the control panel.

Fix the cause properly

After you restore service, resolve the underlying issue. Update or replace the plugin, contact its developer, fix the code on a staging copy, or roll back a recent change using a backup. If a PHP upgrade caused it, either update the plugin or revert PHP and test on staging.

Avoid editing live code without a safety net. Use a child theme, a code snippets plugin that catches fatal errors, or test on staging. Version control for custom code is worth the effort.

Minimize the search impact

During the outage, keep the status honest: 503 for planned maintenance, and a proper error for unplanned. Afterwards, check Search Console. In the Crawl stats report, look for a spike in server errors on the days of the incident. In the Pages report, look for new URLs listed as server errors and use the validation feature to ask Google to recheck once fixed. Confirm your sitemap loads and your robots file is reachable, because a robots file that returns a server error can cause crawlers to pause.

Run a site audit to confirm all key pages return a normal status, and use the robots.txt tool to confirm the file is accessible. If the error corrupted any templates, the meta tag checker shows whether titles and descriptions still print.

Monitoring so you know first

Set up uptime monitoring that checks your homepage and a few inner pages every few minutes and alerts you by email or phone. Add a content check, not just a status check, so a blank 200 page triggers an alert. Watch Search Console emails. Review server error logs weekly.

Preventing repeat incidents

Use a staging site for updates, especially major ones. Update plugins in small batches, not all at once. Keep backups before updates. Choose well-maintained plugins and remove unused ones. Keep PHP supported and patched. Set sensible memory limits. For important sites, use managed hosting with automatic rollbacks or snapshots.

When the problem is bigger than a plugin

If errors are random or the server reports crashes and process kills, the problem may be hosting resources or something more serious such as a compromised site consuming resources. Check for unfamiliar files and scheduled tasks, and ask your host to review logs. Recent critical PHP security releases are a reminder that the runtime itself needs patching. A server running vulnerable or outdated PHP can behave unpredictably under attack.

A one-page incident plan

Write this down before you need it: who to call at your host, where backups live, how to restore them, how to switch PHP versions, how to disable plugins without the admin, who can approve downtime and who talks to customers. Practice once a year. Calm, rehearsed responses shorten outages, and shorter outages protect both customers and rankings.

Frequently asked questions

Will one hour of downtime hurt my rankings? Usually not. Search engines retry. Prolonged or repeated outages are the real concern.

Should I use a 503 or a 404? A 503 for temporary unavailability. A 404 tells crawlers the page is gone.

Why does my site show a blank page with no message? Errors are hidden by default in production. Use the debug log to see them.

Can plugins cause SEO problems when they crash? Yes, if they break templates, meta tags or redirects. After recovery, verify your tags, schema and redirects.

What is the quickest way to find the bad plugin? The recovery email or the debug log. If neither helps, rename the plugins folder and re-enable plugins one by one.

Keep reading

Comments

Leave a comment

Check your own site

Run a free audit and see what to fix first.

Run a free audit