Every WordPress site has a plugin list. Before you publish a static copy, that list turns into a set of awkward questions. Which of these still do anything? Which need a server? Which were only ever there to make WordPress faster or safer, and are now pointless?
A plugin’s fate is decided by where its code runs, not by how popular it is. On the published site there is no PHP, no database and no WordPress. There are files. Anything that ran at request time inside WordPress is gone. Anything that had already run and left its output in the HTML survives.
Compatibility table
The statuses are literal. “Works” means the published page does the job without WordPress. “Works with a service” means something outside the static host does the processing. “Stays dynamic” means it needs WordPress and cannot be part of the build. “Not needed” means the static host already does it, or the problem no longer exists. “Theme-dependent” means the plugin’s settings decide the outcome, so you have to look at the built files.
| What | On the published site | What to do |
|---|---|---|
| Posts, pages and the block editor | Works | WordPress renders the HTML at build time and the crawler copies it. Edit in WordPress, then build again. Nothing on the static host edits anything. |
| Media library and image sizes | Works | Files a page references are copied, including the sizes in srcset. Only tick Every upload if something loads files no page names. |
| Menus, widgets and template parts | Works | Rendered into each page. A menu change is invisible until the next build, which is the point and the catch. |
| Custom post types and their archives | Works | Single items are detected. An archive is only built if a page, menu or sitemap links to it, so list it under Extra files to include if nothing does. |
| Contact forms | Works with a service | CF7, Gravity Forms, WPForms and Ninja Forms post to WordPress. Use the Forms add-on or a hosted form service. |
| Search | Works with a service | Core search needs ?s= and PHP. Build a Pagefind index with the Search add-on, or send visitors to an external search. |
| Comments | Stays dynamic | Existing comments are copied as HTML. New ones need wp-comments-post.php, which is not there. Close comments or use a hosted comment service. |
| SEO plugins | Works | Titles, meta, canonicals and schema are printed at build time. Sitemaps are copied and trimmed to pages that exist. Redirect rules are not. |
| Page builders | Works | Builder HTML is server-rendered, so the layout comes along. Check global widgets and anything loaded by JavaScript after the page. |
| Caching plugins | Not needed | The file is the cache. Keep a page cache in WordPress only if it does not hand the crawler yesterday’s page. |
| Security plugins | Stays dynamic | They guard PHP, logins and the database. Keep them on the WordPress install, where the risk is. |
| Multilingual plugins | Theme-dependent | Directory URLs survive. Query-string languages collapse into one file. Check the built folders rather than the settings screen. |
| WooCommerce | Stays dynamic | Catalogue pages can be built. Cart, checkout, account, coupons and stock need PHP and a session, and prices freeze at build time. |
| Memberships | Stays dynamic | Gating is a capability check. The crawler is anonymous, so it sees the logged-out version, not the members’ one. |
| Analytics | Works | The tracking script is copied with the page. Check consent gating and any server-side tagging before you trust the numbers. |
| Redirects | Stays dynamic | Redirection and Simple 301 Redirects answer in PHP. Recreate the rules as host rules or an edge worker. |
| Scheduled posts | Works with a service | WordPress publishes on time. The static site updates only if something publishes it, such as the GitHub add-on’s scheduled setting. |
| Preview | Works | Draft preview stays in WordPress. StaticScope’s own preview builds the files and adds a noindex tag. |
| Related and popular posts | Works | Calculated when the page is rendered. The list freezes until the next build. |
| Page view counters | Stays dynamic | Counting needs a write. A static host has nowhere to write, so use an external analytics service if you need the number. |
| Cookie consent | Works | Runs in the browser. Nothing server-side is required, though the banner’s settings still need to match the tags in the build. |
| RSS feeds | Not included | /feed/ is left out of the crawl. Point readers at an external feed, or accept that the static site has none. |
| REST-powered blocks | Stays dynamic | /wp-json/ is not copied. A block that fetches on load gets a 404 or your 404 page. |
| XML sitemaps | Works | Copied, then trimmed to pages that exist in the build. Empty sitemaps are removed and robots.txt is corrected. |
The four questions
You do not need to test every plugin in the table. Four questions settle almost every case, and they apply to plugins that do not exist yet.
Does it need PHP while the visitor waits?
This is the first question because it is the one that cannot be worked around. A shortcode is fine: it runs while the page is rendered, and the crawler saves the result. A form handler, a cart, a vote button or a redirect rule is not fine, because the visitor’s request has to reach PHP and there is no PHP to reach.
Watch for plugins that are half build-time and half request-time. A page builder renders the layout at build time but its form widget posts at request time. A shop plugin renders the product at build time but its add-to-cart link is an endpoint. A page that renders correctly can still fail when the runtime half is used.
Does anything need to be written down?
Files cannot remember. If the plugin’s job is to store a message, an order, a vote, a view count or a session, the published site cannot do it. A cookie can remember something for one browser, which is enough for a consent choice or a theme toggle, but it is not a database and every other visitor starts fresh.
Some plugins look stateless and are not. A nonce is a stored value with an expiry. A cart identifier is a session. A “recently viewed” list may be a cookie, which works, or a user meta row, which does not. Find out which before you promise the feature.
Does it call a URL that is not a file?
WordPress exposes behaviour at addresses that have no file behind them: /wp-json/, admin-ajax.php, wp-comments-post.php, ?s=, ?wc-ajax=. StaticScope leaves /wp-json/ and /wp-admin/ out of the crawl, and a static host has nothing to run them anyway. The request either 404s or, on a host with a single-page fallback, returns your home page instead of a 404.
This is the failure people miss because it is silent. A “load more” button calls the REST API, gets a 404, and does nothing visible. A search box submits to /?s=term, the host serves the 404 page, and the visitor assumes there are no results. Open the browser’s network panel and click the button.
Would an anonymous visitor see it?
The crawler asks for each page with no cookies and no login, apart from HTTP basic authentication if you have configured it. It sees exactly what a logged-out stranger sees. Members-only content, personalised greetings, geolocation variants and A/B test buckets are therefore not in the build, or are in it in their logged-out form.
Nonces deserve their own warning. They are real values in the copied HTML, but they are tied to a session that no longer exists and they expire. A form or link that carries a nonce may look complete in the build and fail the moment a visitor uses it.
Test a plugin before you trust it
Ten minutes of checking beats a week of assumptions. Build the site, open the preview, and do these in order.
- Use the feature as a visitor would. If it needs a server, the network panel will show a request to WordPress or to a missing path.
- Search the prepared files for WordPress endpoints. Anything that only works with one is not static.
- Read the site check. Missing files and links back to the WordPress host are reported there, not guessed at.
- Check the files list for the plugin’s assets. If they are absent, the feature was probably rendered by JavaScript at runtime.
- Build twice. A plugin that generates a file on first view can produce a different site the second time.
- Log out before you look at the preview. If the content only appears when you are signed in, it is not in the build.
grep -rl "admin-ajax.php\|wp-json\|wp-comments-post.php\|?wc-ajax=" \
wp-content/uploads/staticscope-processed-site | head -20
Where problems appear
Plugin output often depends on the request, as well as the settings. A cache plugin may serve a warm page to a browser and a cold page to the crawler. A security plugin may challenge the first request from an unfamiliar address. A page optimiser may defer a stylesheet by rewriting it with JavaScript, so the stylesheet exists but nothing links to it in the HTML. These are all build-time differences that only appear when you compare the preview with the live WordPress page.
A plugin that ships a service worker is another case. The worker runs in the browser and can serve a cached page from before the deploy, which makes a correct build look stale. Check for a service worker on the WordPress site and decide whether you want it on the static one.
None of this is an argument against plugins. It is an argument for knowing which half of a plugin you are relying on. The half that renders content is usually fine. The half that answers a request is usually not.
One final distinction matters. A plugin can be a build-time tool or a runtime tool. A build-time tool produces output: a shortcode, a block, a meta tag, a schema graph, a resized image. A runtime tool answers a request: a form handler, a cart, a search endpoint. Most plugins are a mix, and the mix is what you have to map. The build report shows you the output; only a click shows you the runtime half.
The build report is not a behaviour test. It tells you which files are missing and which still point at WordPress. It does not know whether a button works, a form arrives or a filter returns anything. Test the interaction before you publish.