Export a site
Static Export is in beta. See what Beta means.
This page takes you from switching Static Export on to a ZIP file of your site. To run the same steps from a terminal, see the WP-CLI reference.
Turn Static Export on
- In the Etch builder, click Oh My Etch Components in the toolbar and choose Static Export.
- Switch on Enable Static Export.
The panel then asks Where should the site go? and offers three destinations:
- Cloudflare (Recommended, chosen at first): connect Cloudflare, then deploy, in two numbered steps. Deploy to Cloudflare exports the site and deploys that export with one click. See Deploy to Cloudflare.
- ZIP file: export the site and download it as a ZIP file to host anywhere. This page walks through it.
- GitHub Pages (Coming soon): not available in this version. To use GitHub Pages today, host the ZIP file there yourself.
Each destination shows its own numbered steps. There is one export on the site, and switching destinations shows the same export and its result: in step 1, Export the site, under ZIP file, and in step 2, Deploy, under Cloudflare.
Switching destinations stops nothing. An export, a deployment or a Cloudflare sign-in that is running goes on while another destination is shown. A destination whose deployment is running while you look at another one is marked Deploying….
Choose the site address
Choose ZIP file. In its step 1, Export the site, open Served from a folder? to enter the site address in Folder path. It tells the export where the site will be served, so its links point to the right place. Leave it closed and empty for the root of a domain. While the field holds a value or an error, it stays open. Refusals and the WP-CLI option call the same value the target base.
An export started from the Cloudflare destination is always made for the root of a domain, which is what a workers.dev address is, so that destination has no site address field. It leaves the value typed under ZIP file as it is.
| Where the site will be served | What to enter |
|---|---|
The root of a domain, such as https://example.com/ | Leave the field empty. |
A Cloudflare workers.dev address | Leave the field empty. |
A GitHub Pages user or organization site, https://<owner>.github.io/ | Leave the field empty. |
| GitHub Pages with a custom domain set in the repository's settings | Leave the field empty. |
A GitHub Pages project site, https://<owner>.github.io/<repository>/ | /<repository>, for example /my-repo |
A folder of a domain, such as https://example.com/docs/ | /docs |
The value must start with / and must not end with /. Between the slashes it may contain only letters, digits, -, ., _, ~ and % followed by two hex digits. In a full address, write an international domain in its xn-- form.
A full address such as https://example.com/docs is also accepted. The links in the export then point to that address, so the copy works only there. A Cloudflare deployment warns you when such an export is published at another address.
The site address is fixed when you export. To publish the same site at another address, export again with the new value.
Run an export
- Under Where should the site go?, choose ZIP file.
- In step 1, Export the site, open Served from a folder? and enter the site address, or leave it closed for the root of a domain.
- Under Filters, choose what to record of the facet lists: All filters (the default), Pagination only or None. See Choose what is recorded.
- Click Export site.
When the site has facet lists, the panel records their filters right after the export, as chosen, without another click. See Filters.
Under Cloudflare, there is no Export site: Deploy to Cloudflare exports the site for the root of a domain, with no site address, and deploys it. See Deploy to Cloudflare.
While the export runs, the panel shows Export in progress with a progress bar and a line such as 120 of 340 pages processed · 812 files · 24.6 MB. At the start it shows Finding the pages to export… while it collects the addresses.
Keep this browser tab and the panel open until the export finishes (the panel says Keep this tab open until it finishes.). If you close either, the export pauses and the panel says This export is paused. Open the panel again and click Continue export to finish it, or Cancel export to stop it.
When the connection drops for a moment, the panel shows Connection problem. Retrying… and carries on by itself.
Only one export or deployment runs at a time. While a deployment runs, Export site is not available until the deployment has finished or you have cancelled it. An export started with Export site never deploys.
Which pages are exported
The export starts from the addresses in WordPress's sitemaps (also when sitemaps are switched off for search engines) and follows the links it finds on each page. Password-protected posts are not taken from the sitemaps. Every page is fetched as an anonymous visitor, so the export shows what a visitor who is not logged in sees.
Some addresses are always left out:
- Addresses that only work with a query string, such as
/?p=12or/about/?lang=en. - WordPress's dynamic and private addresses: anything under
wp-adminorwp-json, feeds,trackbackandembedaddresses, PHP files and hidden folders (.well-knownis kept). - Sitemap entries that point to another site.
- WooCommerce pages. See WooCommerce pages.
An export stops when the site has more than 50,000 addresses to export. A developer can change that limit with the ome_static_export_max_urls filter, see Filters.
Read the summary
When the export ends, the panel shows Export finished, Export failed or Export cancelled.
The summary appears in step 1, Export the site, which then shows Done. A finished export lists Pages, Files, Size and Duration (under 1 s for a very small site), and Filters when the site has facet lists. Problems follow when there are any. Left out of the export and Works differently on a static host are under Details, closed until you open it, which the summary shows only when one of them has entries.
Left out of the export
Addresses the export skipped on purpose, with how many and a few examples:
| What the panel says | What it means |
|---|---|
| WooCommerce pages such as shop, cart, checkout and account need a live store | WooCommerce pages, left out by address or by content. |
| Addresses that only work with a query string (?…) | Pages reached only through ?…, such as /?p=12. |
| Dynamic, private or unrecognised addresses | Admin, REST, feed, PHP and similar addresses. |
| Sitemap entries that point to another site | A sitemap listed an address on another domain. |
Works differently on a static host
Pages that were exported but contain something a static host cannot run:
| What the panel says | What it means |
|---|---|
| Pages with forms: forms cannot be submitted on a static host | A form that sends its data to this WordPress site. |
| Pages with a search form: search does not work on a static host | A site search form. |
| Pages with a comment form: comments cannot be posted on a static host | WordPress's comment form. |
| Pages with WooCommerce features that need a live store | A mini cart, an add-to-cart button or another WooCommerce widget. |
| Part of the sitemap could not be read, so some pages may be missing | One page of a sitemap failed, so the export may be incomplete. |
These pages look right on the static site, but the feature does not work there. See What works on a static site.
Problems
A table of addresses that failed or were skipped, with the columns Address, Result (Failed or Skipped), HTTP status and Note. Typical notes are Not found on the site., Redirects to another site. and The site answered with HTTP 500. Fix the page in WordPress, or remove the link to it, then export again.
Filters
When the export has facet lists, Export site goes on with Recording filters, unless Filters is set to None: the panel runs the filters in your browser tab, with Composed Filters where it can and every filter combination where it cannot, or only the result pages with Pagination only, and stores the results with the export. Keep the tab open until it finishes. Then the summary shows Filters, such as 4 lists, Pagination only or None.
The summary adds a line only when something needs you:
- Filters not recorded, with the reason. Export site exports again and records them.
- Lists too large for one export, which keep pagination only under All filters, for example
1 list has too many filter combinations for one export, so only its pagination is recorded.See Lists too large for one export. Search and map filters are left out on 2 lists., for controls a static host cannot answer. A list whose text search was recorded is not counted.
See Facets: filters and lists.
Download the ZIP
Under ZIP file, click Download ZIP in step 2, Download. The panel shows Preparing download… while it packs the files. Before an export has finished, and while its filters are recorded, step 2 says Available after the export. The file is named after your site and the date, for example example-com-static-export-2026-11-24.zip.
Unzip it and upload its contents to any static host, or deploy to Cloudflare from the panel instead.
To host the site on GitHub Pages, upload the unzipped files to a repository that has GitHub Pages switched on, after exporting with the matching site address (see the table above). Deploying to GitHub Pages from the panel is coming in a later version.
When your site answers unknown addresses with its own 404 page, the export saves that page as 404.html. GitHub Pages and Cloudflare show it for addresses that do not exist.
Preview the download on your computer
Do not open index.html by double-clicking it. The pages link to their stylesheets, scripts and each other with addresses that start at the root of the site (/wp-content/…), so they need a web server. Opened as a file, the page shows its text and images but loses the styles and scripts that come from separate files, such as a CSS framework's stylesheet.
Serve the unzipped folder instead. With Python, which macOS and most Linux systems include:
cd path/to/unzipped-folder
python3 -m http.server 8000
Then open http://localhost:8000/. Stop the server with Ctrl+C. If you entered a sub-path as the site address (for example /my-site), the export expects to live under that path, so preview it on the host instead.
Export again after changes
An export is a snapshot. After you change content in WordPress, export again (the filters are recorded again by themselves). Under Cloudflare, Deploy to Cloudflare does both: it exports again and deploys that export.
The site keeps the export on its own server, in an ome-static-export folder inside the uploads folder. To keep it somewhere else, define OME_STATIC_EXPORT_DIR.
Turn Static Export off
Switch off Enable Static Export. The confirmation Turn off Static Export? lists what is deleted:
- the export stored on this site, so download the ZIP first if you still need it,
- the saved Cloudflare token and the chosen Worker name,
- and it stops an export or a deployment that is running.
Turning it off also deletes a GitHub token, repository and branch saved while the GitHub Pages preview was on, even when the preview is off again and the confirmation does not name them.
Click Keep it on to go back. Nothing on GitHub or Cloudflare is deleted. Tokens set in wp-config.php stay there. When you switch Static Export on again, you enter saved tokens again.