Settings Reference
Every screen, every field and every default of MyStaticWP, in one place.
Every control, where it is and what it does
This page is the reference. It follows the plugin’s screens in the order of the menu: Overview, Switch, Pages, Plugins, Export and License, then the box in the page editor. For each screen it lists every control, its default and its effect. It also lists who can use the plugin, the two developer filters, and everything the plugin writes on your server.
If you are looking for how to do something, start with Getting Started. If something does not behave as expected, see Troubleshooting.
- Nothing is on by default: static mode is off until you turn it on, and your site stays dynamic.
- The default generation style is Hybrid.
- Every plugin runs on every page until you untick it.
Overview
The dashboard. Nothing here changes your site, except the Measure button, which runs a measurement.
| Element | What it shows or does |
|---|---|
| Mode | “Static mode is on” or “Static mode is off”, with the current style, and a link to manage the switch. |
| Alert strip | Appears only when something needs you: pages that could not be regenerated, pages with an outdated or missing static copy (with a Regenerate button), and elements to check before exporting. |
| Pages in cache | The number of static pages, and whether they are all up to date or how many are outdated or missing. |
| Last regeneration | When the last run happened, whether one is in progress, and how many pages failed. |
| Speed | The server’s response time for your home page, static file against dynamic page built by WordPress. The Measure button runs it, and Measure again repeats it. It says so if the static copy is answered through PHP instead of directly by the web server. |
| Plugins per page | How many plugins are blocked, on how many pages, and the best measured gain so far. |
| Compatibility | The number of elements to check before exporting, with a link to the list. |
| Getting started | A checklist of four steps, ticked from the real state of your site: environment ready, static mode on, pages generated, speed measured. You can hide it, and it disappears by itself when every step is done. |
| Your site | What the plugin detected: page builders, custom fields, SEO plugins, privacy tools and multilingual plugins, with the ones that are actively checked marked “audited”. Also the server environment: PHP, WordPress and database versions, memory limit, server software, whether the uploads folder is writable and whether pretty permalinks are on. |
Switch
The screen that turns static mode on and off, chooses the style and rebuilds the static files.
| Control | Default | What it does |
|---|---|---|
| Static mode | Off | The button reads “Turn static mode on” or “Turn static mode off”. When on, visitors who are not logged in receive static pages. You always see the live, dynamic site while logged in. |
| Regenerate all | – | Rebuilds every public page, the blog index and the archives. Small sites in one go, larger sites in batches with a progress bar. |
| Regenerate outdated or missing pages only | – | Rebuilds only the pages whose static copy is missing, older than the page’s last edit, or older than the last shared change. |
| Generation style | Hybrid | Hybrid keeps the page as WordPress rendered it. Strict builds a standalone mirror in its own folder and replaces each form. Changing it rebuilds the static files. |
| Contact address | Empty | Shown as a mail link in place of every replaced form. Shared with the Export screen. Leave it empty to show the message without a link. |
| Server-level bypass | Automatic | A status line. On Apache and LiteSpeed the plugin adds a marked block to .htaccess so that the web server answers straight from the static file. Not a setting you can change: it follows static mode. |
| Daily rebuild | On | A daily task rebuilds the site. The next run is shown on the screen. |
| Last regeneration | – | The journal of the latest run, with each page’s result and time. See Regeneration & rebuilds. |
Pages
Sets the generation style for a category or a single page, and keeps a page fully dynamic.
| Control | Choices | What it does |
|---|---|---|
| Categories | Site-wide style, Hybrid, Strict | A default for Pages, Blog (posts), WooCommerce (products, only if WooCommerce is active) and Other content types. |
| Individual overrides | Default style, Hybrid, Strict, Always dynamic (never cached) | One choice per page. A page’s own choice wins over its category, which wins over the site-wide style. Always dynamic means the page never becomes static. |
| Preview | – | Shows the page as its static copy would be in the style selected in that row, even before you save. |
| Always live | – | A label on WooCommerce cart, checkout and account pages. They never become static and there is nothing to choose. |
Details: Generation styles: Hybrid & Strict.
Plugins
Chooses which plugins run on which page, and measures what each one costs.
| Control | What it does |
|---|---|
| Reset | “Reset — make every plugin active everywhere” clears every category choice and every page choice, and rebuilds the affected pages. |
| Filters | “Filter plugins” and “Filter pages” hide columns or rows. Hidden boxes are still saved and are left alone by the check and uncheck links. |
| Categories | A default for every page of Pages, Blog (posts), WooCommerce (products) and Other content types. |
| Individual pages | One row per page. A ticked box means the plugin runs, an unticked box means it is blocked. |
| Blog index, archives and search | Two rows: “Blog index and archives”, and “Search results”. |
| Row tools | Preview, Measure and Cost per plugin, plus Check all and Uncheck all. |
| Regenerate option | “Also regenerate the static files of the pages this change affects”. On by default when static mode is on. |
| Check option | “Also check the changed pages for problems”. Loads each changed page twice, as a visitor, and compares. At most eight pages per save. |
Details: Plugins, page by page and Measuring plugin costs.
Export
Builds a standalone copy of your site as plain HTML files, usable on any host.
| Control | What it does |
|---|---|
| Contact address | Shown in place of every form, as a mail link. One address, shared with the Switch screen. |
| Generate export | Always a full rebuild: every run replaces the previous export. It can take a while on a large site, and the page waits for it to finish. |
| Last export | The date of the last export and a Download ZIP button. |
| Report | After an export: the number of pages exported and failed, forms replaced, files copied, and whether robots.txt, sitemaps and redirects were included. |
| Compatibility list | Before you export: pages that use a widget that will not work offline, and elements with known issues. Click an element to open its page in a new tab with that element outlined. |
Internal links become relative paths. Redirects are exported as redirect pages, because a real server-side redirect is not possible once the site no longer runs on WordPress. If the server has no PHP zip extension, the files stay on disk and the screen gives their location.
License
| Control | What it does |
|---|---|
| License key | The key from your RemotelyLicense account. It is only needed for one-click updates. No feature is locked without it. |
| On uninstall | What happens when you delete the plugin. See the three choices below. |
| Choice | Effect |
|---|---|
| Keep | “Keep settings and license key”. The default. Nothing is removed. |
| Remove settings | “Remove settings and license key, keep the static cache”. The static pages stay on disk. |
| Remove everything | “Remove everything (settings, license key, static cache)”. |
The license check runs in the administration only. It sends the license key, your site address and the product name, and nothing about your visitors.
The box in the page editor
| Box | What it does |
|---|---|
| MyStaticWP | The Push this page button rebuilds the page now, and the box says when the static copy was last pushed. With static mode off it says there is nothing to push, and a draft has no static page. |
| Static compatibility | Lists what will not work in a static copy, such as a filter or a load-more button that uses AJAX. Open the page and highlight this element outlines the element on your site. |
Who can use the plugin
The plugin uses its own capability, manage_mystaticwp. It is given to the Administrator role when the plugin is activated. Any user who has it can open every screen of the plugin.
You can change the required capability with the mystaticwp_capability filter, for example to use manage_options.
Developer filters
| Filter | Default and effect |
|---|---|
mystaticwp_capability |
manage_mystaticwp. The capability required to use the plugin. |
mystaticwp_static_max_age |
300. The number of seconds a browser or a CDN may keep a static page served through PHP. A lower value is fresher, a higher value is faster on repeat visits. |
What the plugin writes on your server
| Item | Where and why |
|---|---|
| Hybrid copies | wp-content/uploads/mystaticwp. The static pages of the Hybrid style. |
| Strict copies | wp-content/mystaticwp-strict. The static pages of the Strict style, separate from your media library. |
| Plugin filter | wp-content/mu-plugins/mystaticwp-plugin-presence.php. Applies your per-page plugin choices. Removed when you deactivate the plugin. |
| Server rules | A marked block in .htaccess, only when static mode is on and the server is Apache or LiteSpeed. Removed when you turn static mode off or deactivate the plugin. |
| Scheduled tasks | The daily rebuild, the batch step of a queued rebuild, and the delayed rebuild after a shared change. Removed on deactivation. |
| Settings | Options in the database: general settings, the plugin choices, the journal, the last measurements, and the license key. Kept or removed on uninstall, as you chose. |
| Page settings | Two small fields on the pages you customise: the page’s style, and its plugin choices. |
Defaults at a glance
| Setting | Default |
|---|---|
| Static mode | Off |
| Generation style | Hybrid |
| Contact address | Empty |
| Plugin choices | Every plugin active everywhere |
| Daily rebuild | On |
| Browser cache of a static page | 300 seconds |
| On uninstall | Keep settings and license key |