Problem guide · Something is wrong with the site
A website that shows a blank white page: what it means, what to check first, and how to stop it happening
Check whether it is blank everywhere or only on your device, then look in the page source for your own words. A white page is not a site that will not open: the address answered and nothing was drawn. On WordPress it is usually a plugin, a theme or a server error. On a site drawn by scripts, a script that fails or is blocked leaves it blank. Tell whoever looks after the site what you saw and what changed.

On this page
The page loads, and nothing appears
A blank white page: what to check first
Your website shows a blank white page
-
1Is it blank on another phone or computer, on another connection?
Blank everywhereThe page itself is blank: go on to the next checks.
-
2Does the browser show an error message instead of white?
YesThe site is not answering: match the message to its cause in the guide to a site that will not open.
-
3Is the site on WordPress, and did a plugin, theme or update change just before?
YesThe usual white screen: a plugin or theme fault, or a PHP error. Undo that one change, or ask whoever looks after the site 1.WordPress documentation 1
-
4Is the page source empty of your own words?
YesThe page is drawn by scripts; a failed or blocked script leaves it blank. Ask whoever built it 3,5.GDS measurement 3
Ask whoever built or hosts the site, with what you checked and when it started.
On this page
A white page means the site answered and drew nothing
Owners describe the problem in many ways: the website is just a white screen, it shows a blank page, it loads and nothing appears. They all point to the same thing. Something came back from the address, but nothing a visitor can read was drawn.
That is different from a site that will not open. When the address no longer exists, or the server refuses, the browser shows an error message of its own, and the guide to a site that will not open matches each message to its cause. A white page is quieter, and that is what makes it confusing: there is no message to search for.
There are two common families of cause. On a site built with a content management system such as WordPress, the server tries to build the page and stops partway, often because of a plugin, a theme or a programming error, and sends back nothing 1. On a site whose words are drawn in the browser by scripts, the page arrives as an empty frame and a script is meant to fill it; when the script fails, is blocked or never arrives, the frame stays empty 5.
How often do scripts fail to run for a visitor?
More often than most owners would guess. In 2013 the UK Government Digital Service put a small test into the GOV.UK home page: three tiny images, one that every browser would request, one that only browsers running scripts would request, and one that only browsers with scripts switched off would request. Across 509,314 visits, 503,872 ran the scripts, 1,113 had scripts switched off, and 4,329 requested neither 3.
The surprise was the last group. Those visitors had browsers that could run scripts, yet the scripts did not run for them. The team listed likely reasons: blocking or stripping of scripts by a company network, errors from browser add-ons, the visitor leaving the page early, and network errors, especially on mobile 3. Altogether about 1 visit in 93 did not get the scripted version of the page.
That measurement is old and from one very large site, so treat the exact share as a rough guide, not today's figure. What holds is the shape of the finding: most failures were not people who chose to switch scripts off, but ordinary visitors whose scripts failed for reasons nobody controls. Research on popular web applications agrees on the wider point: script errors occur in production sites, and both one-off and repeatable errors are common 4.
What 509,314 visits to GOV.UK did with its scripts
Which checks can you make yourself, in what order?
Checks an owner can make
-
Open it somewhere else
Another phone or computer, on mobile data instead of the office connection. If it shows there, the page is fine and the problem is on the first device or connection: a blocked script, an add-on, or an old copy.
-
Look for an error message
If the browser shows a message rather than white, the site is not answering at all: match the message to its cause.
-
Think back to the last change
A plugin added or updated, a new theme, an automatic update. On WordPress these are the usual causes of a white screen 1.
-
Look at the page source
Most desktop browsers can show the page's source. Search it for a sentence from your home page. If your words are not there, the page is drawn by scripts and a script has failed.
-
Hand over what you found
Send the list below to whoever looks after the site before anyone starts undoing things.
What to send whoever looks after the site
- The address that shows white, and whether it is the home page only or every page.
- The devices, browsers and connections you tried, and which showed white.
- Any error message, copied word for word.
- Whether a sentence from your home page appears in the page source.
- What changed before it went blank, and on which day.
On WordPress: the usual fixes, and who should make them
WordPress's documentation gives the order. If you can still reach the admin screens, switch off all plugins and switch them back on one at a time until the white page returns; the last one switched on is the culprit. If the white screen started just after a new theme, switch to a default WordPress theme 1. If the admin screens are blank too, the same steps can be done by renaming the plugin or theme folders on the server, which is a job for whoever hosts or looks after the site 1.
To see the actual error behind the white screen, WordPress has a debug mode, switched on in the site's configuration file, that writes errors to a log instead of showing nothing 2. WordPress itself does not recommend running its debug tools on a live site: they are meant for a test copy 2. So this is work for whoever looks after the site, ideally on a copy, not something to switch on and forget.
A page that shows nothing without scripts is a design choice, and it can be changed
A page that is drawn entirely in the browser, called client-side rendering, has a real cost beyond the white-page risk. web.dev, Google's guidance for web developers, says client-side rendering can be difficult to make and keep fast on phones, and that the script it needs tends to grow as the site grows 5. The alternative is a page whose words arrive ready in the page itself, built on the server or in advance, with scripts adding the moving parts on top 5.
Search engines are part of the same picture. Google renders scripts when it indexes pages, but its own guidance says that building pages on the server or in advance is still a great idea, because it makes the site faster for users and crawlers and because not all bots can run scripts 6. Link previews in messaging apps are among the readers that often do not.
Our view: for a small business site, the words that matter, the name, what you do, where you are and how to reach you, should be in the page itself, readable before any script runs. Effects and motion are welcome on top. A site that shows a white page when one script fails is a site whose most important job depends on its least reliable part.
Ask whoever builds your site
- Are the name, services, address and contact details in the page source, before any script runs?
- What does the page show if the main script fails?
- On WordPress: who tests plugin and theme updates, and is there a backup before each one?
- Is there an error log, and who reads it?
Questions people ask
Is a white page the same as my site being down?
Why does my site work on my phone but show white on my laptop?
Then the page is not blank for everyone. The difference is on the device or connection that shows white, such as a script blocked by a network or a browser add-on 3; try another browser or a private window there.
Does a page built from scripts have to be rebuilt?
Can I fix a WordPress white screen myself?
If you can still reach the admin screens, switching plugins off and on one at a time, or switching to a default theme, is the documented first step 1. If the admin is blank too, the fix means working on the server's files, which is a job for your host or developer.
Sources
Every figure on this page, with where it came from.
- 1
WordPress Developer Resources, Advanced Administration, Common WordPress errors: The White Screen of Death.
Supports: PHP and database errors can show as a blank white screen; plugin or theme as causes; deactivate plugins one by one; switch to a default theme; rename folders by FTP; WP_DEBUG - 2
WordPress Developer Resources, Advanced Administration, Debugging in WordPress.
Supports: WP_DEBUG, WP_DEBUG_LOG and WP_DEBUG_DISPLAY to log errors; not recommended on live sites, meant for local and staging installs - 3
Pete Herlihy, Government Digital Service (UK government), How many people are missing out on JavaScript enhancement?, 2013.
Supports: 509,314 visits: 503,872 ran scripts, 1,113 noscript, 4,329 neither; about 1 in 93 without enhancement; likely reasons: network blocking, add-on errors, leaving early, network errors on mobile - 4
Frolin S. Ocariza, Karthik Pattabiraman and Benjamin G. Zorn, IEEE International Symposium on Software Reliability Engineering, JavaScript Errors in the Wild: An Empirical Study, 2011.
Supports: JavaScript errors occur in production web applications, fall into a small number of categories, both deterministic and non-deterministic - 5
web.dev (Google), Rendering on the Web.
Supports: Client-side rendering definition; hard to keep fast on mobile; script grows with the app; server and static rendering as alternatives - 6
Google Search Central, Understand JavaScript SEO basics.
Supports: Google crawls, renders and indexes; server-side or pre-rendering still a great idea, faster for users and crawlers, not all bots run JavaScript
Read next
A page built so a stranger can read it on a phone and ask you from it is what the websites service makes.