Skip to content
StaticScope
Overview
Get StaticScope

A blank or broken page

A runbook for a published page that is blank, unstyled or partly broken, ordered from the cheapest check to the most involved.

Troubleshooting Updated 21 November 2026 6 min read

A page that is blank, unstyled or half-broken is rarely a page problem. It is a build that did not include something, an address that points somewhere else or a file the host cannot find. Work from the cheapest check to the most involved, and stop as soon as the symptom changes.

The first split is always the same. Does the preview show the fault? If it does, the problem is in WordPress or the build. If the preview is right and the live site is wrong, the problem is in publishing, the host or a cache in front of it. Every check below assumes you have made that call.

1. Rule out the cache

Open the page in a private window. If it looks right there, you are chasing a cached stylesheet or a service worker, not a broken build. Hard reloads are unreliable on some hosts and CDNs; a private window is a clean test. If it fixes the page, purge the browser cache and then the host or CDN cache and confirm with a clean request.

curl -sI https://example.com/about/ | head -20

2. Is the build current?

Open StaticScope → Overview. It tells you when the last build ran, whether anything changed since and whether publishing is blocked. A preview is not the live site; a site can be perfectly built and still not deployed.

If the page changed after the build, build again before you debug anything else. The Sync add-on adds two stale-content notices of its own: content changed since the last build, or content has been synced but the site has not been built yet. Both mean the static copy is older than the database.

3. Read the page source

View source on the live page. Three questions, in this order.

  • Is there any HTML? A nearly empty document is a crawl problem, an empty response or a redirect saved as a page. A full document with nothing visible is a styling or JavaScript problem.
  • What address does the stylesheet use? Find the <link rel="stylesheet">. If it starts with your WordPress address, a staging host or http://, stop here. That is the fault.
  • Are the asset addresses inside the site? A path beginning /wp-content/… expects the site at the root of the domain. A site published in a folder, such as https://owner.github.io/repository/, needs those links moved into that folder.

StaticScope rewrites links to the address under StaticScope → Settings → Your published site → Published site address. The screen says: “The address visitors use. Links in the copy point here.” If that address is wrong, or the build was made before you changed it, links and assets point at the wrong place.

Two settings elsewhere matter for the same reason. Other addresses to change lists hosts that should be treated as yours, defaulting to localhost. Leave links unchanged turns rewriting off entirely and is only correct when the static site is published at the same address as WordPress. If someone ticked that while testing, it explains a page full of WordPress URLs.

4. Open the console

The browser console names the file that failed and the line that stopped. Read the first error, not the last. One missing script early in the page can cause five later errors that all disappear when the first one is fixed.

Some console errors are expected on a static site. Anything that calls WordPress for an answer will fail: wp-json, admin-ajax.php, a filter that reloads a list, a form that submits to the old address. A static host has no PHP. Search, forms and interactive filters need their own static replacement. That is a design gap, not a broken build.

5. Mixed content

An HTTPS page that loads an http:// stylesheet, script or image will have that asset blocked. The layout loses a font or a column and everything else looks fine. The console says “blocked: mixed content” and names the file.

curl -s https://example.com/about/ | grep -o 'http://[^"]*' | sort -u

Fix it at the source when you can: the image optimiser, the font host or the embed should offer HTTPS. Adding the host to Other addresses to change only helps if the same file exists at the published address. Rewriting a CDN link to your own domain when the file was never copied there moves the 404 rather than fixing it.

6. Check the build report

The report counts missing files, files that still point at WordPress and unused files. Open the missing list first. It names the path and a page that asked for it, which is usually enough to tell a discovery miss from a host problem.

Common misses on a partly broken page:

  • An image lazy-loaded through an attribute the discovery does not know. Add its folder under Extra files to include.
  • A stylesheet or font loaded by JavaScript, which is invisible on the first pass.
  • A background image in CSS whose path is relative to a folder the processor did not preserve.
  • A file that exists in the preview but 404s live. That is a host path problem, not a build problem.

If the missing file is a feed, the REST API, wp-login.php or xmlrpc.php, it was removed on purpose. The link to it should go too, or point at whatever replaces it.

7. The host

By this point the preview is right and the files are present, so the host is serving something different. Four settings cause most of it: the document root points at the wrong folder, the server does not serve index.html for a folder, clean URLs have no rewrite rule, or a redirect still points at the WordPress install.

SymptomLikely causeCheck
Every page 404s, the home page worksNo index file served for foldersRequest /about/ and /about/index.html directly.
The home page is a file listingDirectory listing instead of an indexThe host’s index document order.
Some pages work, others 404Case, encoding or a trailing slashCopy the exact URL from the page source and request it.
CSS and JS 404, HTML is fineThe site is published in a folder but the links expect the rootThe address setting and the built file paths.
A redirect loopHTTPS or www rules disagreecurl -I on both forms and read each Location.
The page loads but a widget is emptyJavaScript calling WordPressThe first console error.

8. Rebuild, or fix the host

The decision is simple once you know where the fault is. If the preview is wrong, change the setting or the content and rebuild. If the preview is right and the live site is wrong, rebuilding will not help; you will deploy the same correct files into the same wrong host.

When you do rebuild after changing the address, publish the new preview. Publishing replaces the site rather than merging with it, so the files and the rules have to agree. A host rule that rewrites /about to /about/ is fine; one that rewrites it to the WordPress install is not.

One page is rarely one page. A wrong address or a missing stylesheet affects every page that shares the template. Check the home page and one archive before you declare it fixed.

Next