Most problems fall into one of four categories: a stale build, a file that never made it into the copy, a host setting or a feature that needs a live service. Work in that order before changing anything at the host.
Two screens do most of the work. The Overview tells you whether the build is current and what the checks found. The Activity log tells you what happened, newest first. Open both before you start guessing.
Start here
- Is the build current? If a post, page, theme or plugin changed after the build, the Overview says so. Build again before debugging the copy.
- Does the preview show the problem? If the preview is wrong, the fault is in WordPress or the build. If the preview is right and the live site is wrong, the fault is in publishing or the host.
- What does the report say? Missing references, leaks to WordPress and unused files point at different causes.
- What does the log say? A failed request, a permission error or a timeout is more useful than the button label.
The build fails or stops
Likely cause: PHP ran out of time or memory, the server cannot reach WordPress, the uploads folder is not writable or no pages were found.
Check: Open StaticScope → Health check. PHP memory, max execution time and the uploads row are the first three. Then open the Activity log and look at the last few lines: a timeout, a cURL error or “Couldn’t create directory” names the stage.
If the log shows requests failing, confirm the server can reach its own site. A password prompt needs the credentials under Settings → How pages are copied. A firewall or DNS split-horizon that blocks loopback will fail the same way every time. Ask the host to allow it rather than retrying.
If there is no build log at all, check that the plugin’s Composer dependencies are present. A source checkout without composer install shows a warning and cannot crawl. On WP-CLI, wp staticscope check and wp staticscope diagnostics give the same information in the terminal.
Styles are missing
Likely cause: the stylesheet was not discovered, it was excluded by an ignore rule or it loads from a hard-coded development address.
Check: Open the preview and view source. Find the <link rel="stylesheet"> and note its address. If it points at a different host, add that host under Advanced → Other addresses to change and build again. If it points into the preview but returns 404, search Preview files for the path. A missing file in the report confirms it.
A stylesheet loaded by JavaScript may not be found on the first pass. Add its folder under Advanced → Extra files to include. The same applies to a font loaded from CSS with a path the discovery cannot resolve. Check the preview badge: a file loaded from WordPress is a discovery miss, not a host problem.
Links are broken
Likely cause: the target page was excluded from the copy, the link points at a WordPress-only endpoint or the host disagrees about trailing slashes.
Check: The report’s missing list names the path and a page that uses it. If the missing path is a page you did not mean to exclude, check Settings → Pages to leave out and the detection options. If it is a feed, the REST API or wp-login.php, it is removed on purpose and the link should go too.
Open the preview and click the link. If it works in the preview and fails on the host, check the host’s directory index and trailing-slash rules. A page is a folder with an index.html; a host that does not serve index files for folders will 404 every page. If the link works on the host but lands on the wrong page, look for a redirect rule left over from WordPress.
Images return 404
Likely cause: the image is lazy-loaded with data-src, set as a CSS background, served from a CDN that was not included or differs only by letter case.
Check: Open the broken image address directly. If the file is in Preview files, the host is serving the wrong path. If it is not, the crawler did not find it. Lazy-loaded images are usually discovered from data-src and srcset, but a plugin with an unusual attribute can defeat that. Add the uploads folder or the exact path under Extra files to include.
If an image optimisation plugin rewrites URLs to its own CDN, either include that host under Other addresses to change or turn the rewrite off for the copy. Case matters on Linux hosts and does not on macOS, so an image that works locally can 404 in production.
Forms don’t send
Likely cause: the form still posts to WordPress, no provider is configured or the host has not discovered a Netlify form.
Check: Open StaticScope → Forms. The build report lists each form, its page and whether it is connected. A form marked Not a StaticScope form is from another plugin and still points at WordPress. It will not work on a static host. Replace it with the Form block or point it at a service.
For Web3Forms, select Send a test email. For a custom endpoint, select Send a test submission and read the answer. Netlify forms are only found after a deploy, so publish, then open the form on the live site. A custom endpoint needs CORS and its own validation; a 4xx in the browser console is the endpoint refusing the request, not StaticScope dropping it.
Search returns nothing
Likely cause: Pagefind is not active, no search page is selected, the index was not built or proc_open is disabled.
Check: Open StaticScope → Search. The status panel says whether the Pagefind program runs, which page shows results and when the last index was built. If proc_open is disabled, the index cannot be built on this server. Run npx pagefind --site path/to/exported-site in your deployment instead, or ask the host to allow it.
If the status is good, open the search page in the preview and search for a word you know is on a post. An empty index usually means the search page was not selected at build time, or every page was marked data-pagefind-ignore. Rebuild after changing the search page or the indexing options; those settings are applied during generation.
Publish is rejected
Likely cause: the preview is stale, there is no build, another publish is running or the chosen add-on is not the publisher.
Check the message. These are specific:
- “The theme or plugins have changed since this build” or “since this preview” means build again. The add-on will not publish code it has not seen.
- “There’s no build to publish” means the prepared files are missing or older than the copy. Build first.
- “Another publish is already running” means wait. The lock is released when the other request finishes or the database connection ends.
- “S3 storage isn’t the publishing add-on” or the GitHub equivalent means choose that add-on under Add-ons and save.
- GitHub permission errors name Contents access. A 401 means the token expired; a 403 means it lacks permission or the branch is protected.
If the message mentions a file over 100 MB, GitHub refused it. Leave that file out with the ignore lists under Advanced, or host it elsewhere.
The live site is stale
Likely cause: nothing was published, the host has not deployed the branch, a CDN or browser cache is serving the old page or scheduled jobs are not running.
Check: Compare the last publish time on the add-on screen with the last build time. If the build is newer, publish. If the publish is newer, open the branch or bucket and confirm the files changed. Then check the host’s deploy log: a failed build step, a wrong production branch or a manual deploy lock will leave the old site in place.
Purge the host cache and try a private window. If the site only updates when you publish by hand, background jobs are off or WordPress cron is not running. The Background jobs screen shows the history, and the GitHub screen warns when DISABLE_WP_CRON is set without a server task.
Redirect loops
Likely cause: the host or CDN is redirecting to HTTPS while the origin redirects back to HTTP, or two rules disagree about www or trailing slashes.
Check: Run curl -I http://your-domain/ and curl -I https://your-domain/. Note each Location header and status. A loop is visible as the same pair repeating. On Cloudflare, set SSL/TLS mode to Full (strict) when the origin has a certificate. “Flexible” plus an origin HTTPS redirect is the classic loop.
Turn off one redirect at a time: the CDN’s Always Use HTTPS, the host’s www rule, then any page rule or _redirects entry. Static hosts do not run WordPress’s canonical redirect, so a loop is almost always in the host configuration, not in the copy.
Permissions and disk problems
Likely cause: the uploads folder is not writable, the disk is full, a security module blocks PHP from writing or open_basedir excludes the path.
Check: Health check reports the uploads folder as Writable or Not writable. If it is not writable, check the owner and permissions on wp-content/uploads. The web server user needs to create and delete folders there. Ask the host before changing ownership broadly; a wrong owner can break media uploads too.
If the log says a directory could not be created but the permissions look right, check free disk space and any open_basedir restriction. A host that blocks link() only makes the preview slower to build, not broken. A host that blocks writes entirely will fail the first build.
When to ask for help
Collect the page URL, the host and add-on, the last build time, the exact message and the relevant Activity log lines. wp staticscope diagnostics gathers versions and environment details. Send those rather than a screenshot of the spinner.