StaticScope makes a static copy of your WordPress site and publishes it where visitors can reach it. WordPress stays the place you write and edit. The copy is a folder of plain files.
This page covers what the plugin needs, installing it and any add-ons, the admin menu you get, where the working files live and how to keep WordPress out of public view.
Requirements
StaticScope checks PHP and WordPress versions when it activates. The Health check screen covers the rest. If something is missing, the plugin says so.
- WordPress 6.0 or newer.
- PHP 7.4 or newer. PHP 8.1 or newer is recommended for speed and security updates.
- The cURL and DOM extensions. cURL fetches pages from WordPress. DOM is used to read HTML and XML while files are prepared and checked.
- A writable uploads folder. It writes its working copies under
wp-content/uploadsand deletes them from there. - A permalink structure that ends in a slash. Plain permalinks are not supported. Choose something like Post name under Settings → Permalinks.
- Enough memory and time for the size of the site. StaticScope lifts PHP’s time limit while it builds, where the host allows it. Large sites still need memory.
- A site the server can reach over HTTP or HTTPS. The crawler requests pages from the site address. A password prompt is fine if you give StaticScope the credentials. A firewall that blocks the server from reaching itself is not.
Add-ons add their own requirements. Pagefind needs PHP to be allowed to run other programs with proc_open. S3 storage needs Sodium or OpenSSL to encrypt the secret key. GitHub needs outbound HTTPS to github.com.
Install the plugin
- In WordPress, open Plugins → Add New and search for StaticScope. If you have a ZIP, choose Upload Plugin, select the file and select Install Now.
- Select Activate.
- Open StaticScope → Health check and fix anything marked Needs attention.
- Open StaticScope → Settings and set the published site address, unless your publishing add-on supplies it.
If you run the plugin from a source checkout rather than a release ZIP, run composer install in the plugin folder first. Crawling needs the dependencies. Without them the admin screens load, but a build cannot copy anything.
The Plugins screen has a Settings link.
Install add-ons
Add-ons are separate plugins. They need WordPress 6.3 or newer and StaticScope active. StaticScope on its own can find pages, build a copy, preview it and give you a ZIP. It cannot publish without a publishing add-on.
| Add-on | Type | What it does |
|---|---|---|
| GitHub | Publishing | Pushes the site to a branch, for Cloudflare, Netlify, GitHub Pages or another host that deploys from Git. |
| S3 storage | Publishing | Uploads to Amazon S3 or an S3-compatible bucket. |
| Your server | Publishing | Sends the site over SSH or SFTP to a folder on a server you control. |
| Forms | Site feature | Adds a form block that sends submissions to a form service or your own endpoint. |
| Pagefind search | Site feature | Builds a search index into the static site. |
| Sync | Sync | Moves content between WordPress sites through a private Git repository. It does not publish. |
Install and activate StaticScope first. Then install each add-on the same way you installed the plugin. An add-on refuses to do anything if StaticScope is missing, and tells the administrator so.
Open StaticScope → Add-ons to see what is active. If you have more than one publishing add-on, choose the one that publishes and select Save choice. Only one publishes at a time. The others stay active but idle, and their screens say so.
The Publish site menu item always opens the chosen publisher’s screen. You do not need to find that add-on’s own menu item. It is hidden on purpose, so the menu does not change shape every time you install something.
Activating a publisher publishes nothing. You still need to build a copy and choose Publish. Until then, the live site is whatever is already at the host.
The admin menu
StaticScope adds one top-level menu with these screens.
- Overview builds a preview, publishes the last build and shows what is in it.
- Publish site opens the screen of the add-on that publishes.
- Settings holds the published address, what goes into the copy, notifications and the basic auth details for crawling.
- Add-ons lists active add-ons and lets you choose the publisher.
- Preview files lists every file in the prepared site and shows which pages use it.
- Background jobs controls when jobs run and shows the last 100.
- Caches clears what StaticScope has found, copied, prepared or uploaded.
- Advanced adds extra URLs, ignored files and extensions, concurrency and link rewriting.
- Activity log shows what happened, newest first.
- Health check reports PHP, WordPress, memory, time, uploads, cURL, DOM and permalinks.
Most screens need the manage_options capability. The GitHub add-on is the exception: its Publish site screen uses publish_pages by default, so editors can publish. Connecting GitHub or changing environments still needs an administrator.
Where the content lives
For generated files, StaticScope writes only inside the uploads folder. It does not put pages in your theme or plugin folders.
wp-content/uploads/
├── staticscope-crawled-site/ pages as fetched from WordPress
├── staticscope-processed-site/ files with links rewritten, ready to publish
└── staticscope-preview/ browsable copy of the prepared files
The crawled and processed folders are working copies. The preview is built from the processed folder, with its links pointed at the preview address so you can click around. Only the processed folder is published.
The activity log is a database table, {prefix}staticscope_log. Settings live in the staticscope_options option. Deleting the plugin removes its tables, options, scheduled jobs and those three folders. It does not remove anything already published to your host, and it does not cancel a GitHub token or delete storage keys.
The default ignore list already leaves these folders out of the copy, so a build does not swallow the previous build.
Keeping WordPress private
StaticScope does not hide WordPress. It copies pages out of it. If WordPress is on the public internet, people can still reach it, try to log in and load pages directly. The static site is a separate thing.
One setup is to put WordPress behind HTTP basic auth, an IP allowlist or a private hostname, and make only the static site public. Give the crawler the basic auth username and password under Settings → How pages are copied. The fields are Password prompt username and Password prompt password.
Each approach has a cost. Basic auth is simple, but the password sits in the database. An IP allowlist is stronger, but it must let the server reach itself or the build fails. A private hostname or VPN is strongest, but it adds work for anyone editing. Pick one rather than layering all three and wondering why the crawler times out.
“Discourage search engines” is not access control. It adds a noindex hint and removes the sitemap. It does not stop anyone loading the site. Use authentication or a network restriction if you need privacy.
Keep the build folders in mind. They sit under uploads and are reachable by URL by default. The preview is meant to be reachable so you can check it, and it carries its own noindex tag. If your host lists directories, block wp-content/uploads/staticscope-* except the preview, or put the preview behind the same password. Blocking the preview stops you using it.
Once the static site is live you can take WordPress offline between builds. Scheduled posts and background jobs need WordPress running, so decide which matters more.
What to do next
- Choose where the site will live and install that publishing add-on.
- Set the published site address, either under Settings or on the add-on’s screen.
- Build a preview from the Overview and open it.
- Read the checks, fix what needs attention and build again.
- Publish when the preview looks right.
If you are not ready to publish, you can still build and use Download ZIP under What’s in your static site. That gives you the same prepared files to put on a host by hand.