Aouwal Static Site Export – Static Site Generator
Turn WordPress into a fast static HTML site. Export pages, CSS, JS, images, fonts and sitemap.xml for Cloudflare Pages, GitHub Pages or Netlify.
Solid choice
Aouwal Static Site Export is a solid plugin choice in 2026, with a few things worth checking first. Is rated 5/5 and was last updated 16 hours ago, and scores 71/100 on our health check.
- Actively developed — last update 16 hours ago
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Aouwal Static Site Export stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| cloudflare-pages | >100 |
| jamstack | #8 |
| static html | #83 |
| static site generator | #17 |
| wordpress export | >100 |
Rating breakdown
★★★★★★★★★★ 5 from 2 reviews
About Aouwal Static Site Export
From the official readme · v1.15.0Description
Aouwal Static Site Export is a WordPress Static Site Generator that converts dynamic WordPress websites into static HTML websites. Export complete websites including CSS, JavaScript, images, fonts, sitemap.xml and robots.txt for deployment on Cloudflare Pages, GitHub Pages, Netlify or any static web server.
The export is a plain folder of HTML files and assets. You can commit it to GitHub and deploy it on Cloudflare Pages, or host it on any static host or CDN. No WordPress, PHP or database is needed to serve it.
Author: Abdul Aouwal, Technical SEO Consultant.
Export WordPress to static HTML
The plugin turns your published WordPress pages into plain static HTML files. It works in six steps:
- It discovers every public URL.
- It renders each one through the WordPress HTTP API and keeps the HTML.
- It downloads and localizes assets, including recursive CSS
url()and@importreferences. - It rewrites internal links, removes server-side features and packages the result into one ZIP.
You can export:
- Posts, pages and custom post types.
- Category, tag and custom taxonomy archives, author archives and date archives, including page 2 and later.
- RSS feeds (
feed/index.xml), removable with one checkbox. - A
404.htmlpage (theme template or a built-in page), plussitemap.xmlandrobots.txt. - An
llms.txtindex for AI crawlers: site title, tagline and exported pages/posts grouped by type, each with an absolute URL and short excerpt. On by default; removable with one checkbox. - Cloudflare Pages
_redirectsand_headersfiles, both on by default.
WordPress static site generator features
- Chunked export with a live progress log, so large sites do not hit PHP timeouts.
- Every page is fetched as WordPress renders it, so theme templates, shortcodes and plugin output are included.
- Images, CSS, JavaScript and fonts are downloaded and localized, including
srcsetand<picture>sources. - Internal links become relative or root-absolute, so the site works on any domain or subfolder.
- HTML5 markup stays valid:
<picture>,<source>,<video>,<track>,<template>and custom elements survive the export. - Maximum asset size (25 MB default) skips oversized files instead of exhausting memory.
- Optional HTML minification and pre-compressed
.gzcopies for HTML, CSS, JS, JSON, SVG and XML. Both are off by default; protected blocks stay byte-identical. - Every write is checked; an unwritable page or asset is reported, not marked done.
- Only public URLs are fetched; every redirect hop and A/AAAA record is validated.
- Network controls: timeout, delay, crawl origin, TLS modes and optional Basic Auth.
- Optional path rewrite moves /wp-content/uploads/ to a short folder such as /uploads/. Off by default.
- Pause, resume and cancel controls, so a long export can be stopped without losing progress and a wrong export can be aborted and cleaned up.
- Optional changed-only export: reuse the last export and re-export only pages, archives and assets that changed. Full export stays the default.
- Optional on-server static mode: serve anonymous page requests from the last finished export without moving hosting, with a maximum age, a purge button and an automatic background rebuild.
- Optional automatic exports: after a post is published, updated or deleted, or on an hourly, twice-daily or daily schedule, using WP-Cron and the same chunked exporter.
- Optional direct deployment to GitHub, Cloudflare Pages or Netlify: one commit or one upload per run, changed files only, encrypted tokens, off by default.
- Optional, invisible author credit. It is off by default and can be enabled in Settings.
Deploy to Cloudflare Pages
Cloudflare Pages is the fastest path to a live static site. The export already includes the _redirects and _headers files Cloudflare Pages expects, and the Deploy tab walks you through creating a GitHub repository and connecting it to Cloudflare Pages. Once the repository is connected, every push redeploys the site automatically.
Export to GitHub Pages
The same export folder works on GitHub Pages. Commit the exported files to a repository, enable Pages for the branch or folder you pushed, and GitHub serves the static HTML. Relative links work as they are, so no extra configuration is needed.
Netlify, Jamstack and any static host
The output is a plain folder of HTML files and assets, which makes it a good fit for any Jamstack workflow. Upload it to Netlify (which also reads _redirects and _headers), Amazon S3, Vercel, a CDN, or any static hosting account. No WordPress, PHP or database is needed to serve it.
Automate exports
Settings > Automatic exports runs an export after a post is published, updated or deleted, or hourly, twice daily or daily. A publish run waits a couple of minutes, so a burst of edits produces one build. Automatic runs share the export lock and wait when an export is paused. The event is removed on deactivation and recreated on activation.
For full control, use WP-CLI with your own scheduler:
wp aouwal-static-site-export run --batch=10 --format=json --zip=/var/www/builds/site.zip > /tmp/export.json
The JSON object contains job_id, mode, counts (done, error, skipped, total), output_dir, zip, bytes, duration, timestamps and deployment results; log lines go to stderr. Unzip the ZIP into the repository your host watches, or copy the tree with --output-dir=/var/www/static-repo --force, then commit and push.
Exit codes: 0 clean, 1 failed items or cancelled, 2 could not start (running export, invalid flag or path, missing PHP zip extension). Two runs cannot overlap: the second exits 2 with the running job ID, and a lock older than 20 minutes is ignored.
Serve a static site from WordPress
Not every site can move to a separate host. Settings > Static mode serves the last finished export to anonymous visitors while the admin and dynamic features keep working.
- Anonymous GET and HEAD requests are served from disk without rendering a template.
- Logged-in users, POST, REST, XML-RPC, previews, customizer, admin, AJAX, feeds, embeds, password-protected posts, WooCommerce cart/checkout/account, 404s, range requests and any URL with a query string use WordPress.
- Files expire after Maximum age (24 hours by default). An expired file is not served; WordPress renders the page and a WP-Cron rebuild refreshes the export.
- Publishing or updating a post removes its page, the home page and the posts page at once and schedules the rebuild.
- Purge static cache removes the served copy and schedules a rebuild; the ZIP is kept.
- No rewrite rules are added. Disabling the mode restores normal WordPress behavior.
- With the API cleanup setting on, static responses also drop the wp-json
Linkheaders andX-Pingbackwhile keeping canonical, hreflang and preload links. - With pre-compressed
.gzcopies enabled, the compressed file is sent to browsers that accept gzip. - The exporter’s own crawl marker keeps re-exports on live WordPress output.
- Off by default.
Static mode is a snapshot cache, not a full page cache plugin: it does not vary pages by cookie, device or role beyond the bypass list. Keep it off when most traffic depends on sessions or personalization.
Pause, resume or cancel an export
The Export screen has three controls next to the Start button, so a long crawl no longer has to be left running or killed by closing the tab.
- Pause stops the export at the end of the current batch. Every page and asset already exported stays on disk, and the queue keeps its place.
- Resume continues from the next pending URL and finishes the export with the pages written before the pause still in place.
- Cancel stops the export and deletes the partial output folder and any ZIP, so a failed or wrong export leaves nothing behind. The log keeps a line naming the last URL that was processed.
Pause and cancel take effect between batches, so a running batch finishes first and a cancel can take a few seconds. The next request repeats the cleanup, so nothing is lost.
The state is stored on the server, so reloading the screen shows a paused export with its Resume and Cancel buttons. The loop never restarts on its own, because two open tabs would both drive the same queue.
WP-CLI has the same controls for a crawl started from the command line:
wp aouwal-static-export status
wp aouwal-static-export cancel
wp aouwal-static-export resume --batch=10
status prints the phase, the processed and pending counts and the last URL, which is handy in a cron log. `cancel` exits with 1 so a script stops before pushing a partial build.
Changed-only export for large sites
By default every export re-crawls every page and re-downloads every asset. Settings > Export mode adds a second mode for sites where that takes too long.
- Full export is the default and the previous behavior: every URL is fetched and rewritten on every run.
- Changed-only export starts from the last export, copies its files into the new output folder, and then re-exports only what changed.
What a changed-only run re-exports:
- A post or page whose
post_modifiedtime changed, plus every taxonomy, author and date archive that contains it, plus the homepage, the posts page and their pagination. - Assets whose
ETagorLast-Modifiedno longer match. The plugin sends a conditional request and keeps the copied file on 304 Not Modified. - Feeds, additional URLs, the sitemap, robots.txt,
_redirects,_headersand 404.html are always rebuilt.
Unchanged pages are not even requested: their stored fingerprint matches, so the copied file is kept as is.
It falls back to a full export when the previous files cannot be trusted: a different plugin, WordPress or theme version, a different permalink structure or site URL, or any setting that changes the output. A missing previous folder or a failed copy also forces a full run.
Files for content that was deleted are removed from the new export, and the log names how many were dropped. A URL that failed keeps its old file and is retried on the next run.
Run it once from the command line without changing the saved setting:
wp aouwal-static-export run --changed-only --batch=10
wp aouwal-static-export run --full
Data stored: one row per page and asset in a custom table ({prefix}aouwal_export_state) holding the URL hash, fingerprint, ETag, Last-Modified, size and the last export that confirmed it. The table is removed when the plugin is uninstalled.
Deploy from WordPress to GitHub and Cloudflare Pages
The Deploy tab pushes a finished export to GitHub, Cloudflare Pages or Netlify without downloading, unzipping and pushing by hand. Each target is off by default and hidden until enabled, and each has its own Test connection, Deploy automatically option and Deploy button. “Deploy all enabled” runs every enabled target. Tokens are stored encrypted, never shown again, and a failed deployment keeps the local ZIP so it can be retried.
GitHub
GitHub needs the repository owner, repository name, branch, optional folder and a personal access token with contents write access.
Only changed files are uploaded, one commit is created per run, and a missing branch is created from the default branch. Removing files that are no longer in the export is opt-in. For a first deployment of thousands of files, run wp aouwal-static-site-export deploy from the command line to avoid a web request timeout.
wp aouwal-static-export deploy
Cloudflare Pages
The Cloudflare target uploads the export to a Pages project with the direct upload API. Use it when the Pages project is not connected to a Git repository. If the project already builds from a GitHub repository, use the GitHub target and let Pages rebuild from the new commit.
Cloudflare Pages needs the 32-character account ID, the project name (not the .pages.dev hostname) and an API token with Pages Edit access.
Only missing file hashes are uploaded, and _headers and _redirects are included. Leave the branch blank for production, or enter a branch for a preview deployment.
Limits: Cloudflare Pages accepts up to 20,000 files per deployment and 25 MB per file. The plugin stops with a clear message before uploading when the export exceeds either limit.
Optional cache purge: set the 32-character zone ID and tick “Purge the zone cache after every Cloudflare deployment”. The API token then also needs Zone > Cache Purge permission. A purge runs only after a successful deployment, so a removed file stops being served from the edge cache.
Pages keeps every deployment as a preview, so removing content from the export does not delete the previous deployment; the new deployment simply no longer serves it.
Test connection reads the project before anything is uploaded.
Netlify
The Netlify target uses the file digest API. It needs the Project ID (also called Site ID) and a personal access token from Applications > Personal access tokens.
Every file is a SHA1 entry in the manifest. Netlify returns the hashes it lacks, only those are uploaded, and the deploy replaces the previous file set atomically. The token is encrypted and never logged. Test connection reads the site first; a failed deploy keeps the local ZIP.
Why use a static WordPress website
A static website is faster and safer: no PHP and no database, just small HTML files served from a CDN. There is much less to attack: no login page, no plugin endpoints and no database on the public server. Keep WordPress for writing, and export a fresh copy when content changes.
What the export cleans up
- Removes comment forms, comment sections, “Leave a comment” links and comment feeds (on by default). Leftover theme wrappers such as
comments-area,comment-respondandcomment-listare removed too, across classic and block themes. - Removes search forms (on by default).
- Removes WordPress API and discovery links (on by default): wp-json/REST, oEmbed, EditURI/RSD, wlwmanifest, pingback and shortlink tags in the HTML, plus the matching
LinkandX-Pingbackheaders from Static mode responses. Canonical, hreflang, prev/next, author and feed links are kept. - Strips WordPress version tags.
- Strips staging “noindex” robots meta so the exported site stays indexable.
Not suitable for
A static site has no PHP or database, so server-side features stop working:
- E-commerce: cart, checkout, payment and order confirmation need WooCommerce and a database.
- Membership sites and logins: no sessions, accounts or password reset.
- Real-time data such as stock levels, prices or dashboards.
- Live search, AJAX filtering, infinite scroll and form submissions.
- Built-in forms, site search, comments and add-to-cart buttons need a server.
Keep WordPress, or replace them with hosted services before going static: forms, search and checkout. Static export suits blogs, documentation, portfolios, marketing pages and company sites.
Installation
- Upload the
aouwal-static-site-exportfolder to/wp-content/plugins/. - Activate the plugin in the Plugins screen.
- Open the Static Export menu and configure the settings.
- Run an export, then download the ZIP file.
- Follow the Deploy tab to publish the site.
Changelog
Adds an optional llms.txt index for AI crawlers and a cleanup option that removes WordPress API and discovery links from exports and from Static mode response headers. Both are on by default; no action needed.
1.15.0
- New: optional
llms.txtfor AI crawlers, on by default under Settings > Cleanup & output > Generated files. It lists exported pages, posts and other selected post types as Markdown with absolute URLs and short excerpts, grouped by type. - Only URLs that were actually exported are listed, so drafts, excluded URLs and disabled post types stay out. Links use the Public URL setting when set, otherwise the site URL.
- The export log reports how many links
llms.txtcontains, and the file is included in the ZIP. - New: “Remove WordPress API and discovery links” cleanup setting, on by default. It removes wp-json/REST, oEmbed, EditURI/RSD, wlwmanifest, pingback and shortlink link tags from exported HTML.
- Static mode now strips the matching
Linkresponse headers (rel="https://api.w.org/", REST JSON alternate, shortlink, EditURI, wlwmanifest) andX-Pingback, so a static response no longer advertises wp-json endpoints. Canonical, hreflang, prev/next, author and feed links, plus preload/prefetch Link headers, are kept. - Body anchors that point at
/wp-json/or?rest_route=are unwrapped instead of becoming dead#links. A post slug that merely contains “wp-json” is not affected. - The setting is part of the changed-only signature, so toggling it forces a full export.
- Default on preserves the previous export output; turning it off keeps the links.
1.14.0
- New: optional on-server static mode (Settings > Static mode). The last finished export is served to anonymous GET and HEAD requests from disk, without rendering a template, so a site gets static delivery without moving hosting.
- Bypass list: logged-in users, POST, REST, XML-RPC, previews, customizer, admin, AJAX, feeds, embeds, password-protected posts, WooCommerce cart/checkout/account, 404s, range requests and any request with a query string always use WordPress.
- Maximum age setting (1 to 720 hours, 24 by default). An expired file is not served: WordPress renders that request and a WP-Cron rebuild refreshes the export in batches.
- Publishing or updating a post deletes its page, the home page and the posts page immediately and schedules a rebuild.
- “Purge static cache” on the Settings screen removes the served copy and schedules a rebuild. The downloaded ZIP is kept.
- The Static mode section shows the last export, its page count and size on disk.
- New: automatic exports (Settings > Automatic exports). Choose off (default), after a post is published, updated or deleted, or an hourly, twice-daily or daily schedule.
- Publish mode is debounced: changes within a couple of minutes share one export. Automatic runs reuse the chunked exporter and the export lock, so two runs never overlap and a paused export is left untouched.
- The recurring event is recreated when the plugin is activated again and removed on deactivation.
- The crawler sends a marker header so the exporter’s own loopback requests always read live WordPress output instead of the old static file.
- Pre-compressed
.gzcopies are served withContent-Encoding: gzipwhen the browser accepts gzip. - No rewrite rules are added. Disabling the mode restores normal WordPress behavior at once.
- Off by default; the export workflow is unchanged for existing users.
- Readme, FAQ and
.potupdated.
1.13.0
- New: optional HTML minification. Removes whitespace between tags and normal comments; text spacing, conditional comments, the credit comment and
pre/textarea/script/stylebodies stay byte-identical. - New: optional pre-compressed
.gzsidecars for HTML, CSS, JS, JSON, SVG and XML, for nginxgzip_static. Off by default; hidden when PHP has no zlib extension. - Both settings are part of the changed-only signature, so toggling either forces a full export and never leaves a mixed tree.
- The export log reports original and minified HTML sizes and the number/size of
.gzfiles; the WP-CLI JSON summary gains astatsobject. - Removing a page or asset also removes its
.gzsidecar. - Readme/FAQ, settings table and
.potupdated.
1.12.0
- New:
wp aouwal-static-export run --format=jsonprints one JSON object on stdout and sends log lines to stderr. It includes job ID, counts, output directory, ZIP path, bytes, duration, timestamps and deployment results.--porcelainis an alias. - New:
--output-dir=<path>and--zip=<path>copy the finished export to a stable path for cron and CI. Both are validated before the crawl; a non-empty folder or existing ZIP needs--force. - New: an export lock stops two cron or web runs from overlapping. The second process exits 2 with the running job ID and start time, and the lock is released on finish, pause or cancel. A stale lock is ignored after 20 minutes without a batch.
- Documented exit codes: 0 success, 1 completed with failed items or cancelled, 2 could not start.
- Readme: cron and CI examples for JSON output, stable ZIP/output paths and the exit-code contract.
1.11.0
- New: direct deployment to Cloudflare Pages. Add the account ID, Pages project name and an API token with Pages Edit access, then push the finished export from the Deploy tab. Off by default and hidden until enabled.
- Files are hashed and checked against the project: only missing assets are uploaded, and one deployment is created with the full manifest. Unchanged files are reused on later runs.
_headersand_redirectsare sent as Pages configuration, so caching and redirect rules work after a direct upload.- Optional branch field for a preview deployment; blank uses the production branch.
- Test connection reads the project before uploading. Failures report the Cloudflare error text and keep the local ZIP and export folder.
- Per-target automatic deployment: GitHub and Cloudflare Pages can each deploy after a successful export, independently.
- “Test connection” now tests every enabled target and lists each result. “Deploy last export” deploys to every enabled target.
- New: direct deployment to Netlify. Add the Project ID and a personal access token, then push the export. Only missing SHA1 hashes are uploaded, Netlify publishes the deploy atomically, and removed content disappears.
- Per-target deploy buttons: deploy to GitHub, Cloudflare Pages or Netlify on its own, or use “Deploy all enabled”. Results are merged per target instead of replacing the whole last-run table.
- Optional Cloudflare cache purge after a successful deployment: set the zone ID and tick the option; the token then also needs Zone > Cache Purge permission.
- Refactor: a single target registry drives labels, configuration checks, test and deploy methods for all targets.
- Enforced Cloudflare limits (20,000 files, 25 MB per file) with a clear message before the upload starts.
- Fix: when an archive type is disabled, links to it are removed instead of staying broken. Date archive links (
/2026/and/2026/11/) disappear when date archives are off, andfeed/index.xml, feed directories and every feed link disappear when RSS feeds are off. - Fix: a fallback 404 page is now self-contained and styled, with a clear message, a home link and a
noindexrobots tag. Themed 404 pages also getnoindexwhen they do not already have it. - New 404 page setting: use the theme template or a built-in page that looks the same on every theme and has no search box or archive widgets. Both modes add a base URL so relative CSS and menu links keep working when the 404 is served at
/2026/11/or any other depth. - Cloudflare token encrypted at rest, never rendered, never logged, and removed on uninstall with the rest of the deployment option.
- Fix: when comment forms are removed, “Leave a comment” links and leftover comment wrappers (
comments-area,comment-respond,comment-list,comments-wrapperand similar) are removed too. Tested with Twenty Twenty-Five, Twenty Twenty-Four, Twenty Twenty-Three, Astra, Kadence, OceanWP and GeneratePress.
1.10.0
- New: direct GitHub deployment from the Deploy tab. Add a repository owner, repository name, branch, optional folder and a personal access token, then push the finished export with one commit. Off by default and hidden until enabled.
- Only changed files are uploaded: each exported file is hashed as a git blob and compared with the branch tree, so unchanged files are skipped.
- A missing branch is created from the default branch on the first deployment. An optional setting removes repository files that are no longer in the export; it is off by default and limited to the selected folder.
- The token is encrypted at rest with sodium or OpenSSL, never rendered back, never written to the export or the log, and cleared when the option is removed on uninstall.
- “Test connection” verifies the token, repository and branch before a push. Failures report the GitHub error text and leave the local ZIP and export folder untouched.
- New “Deploy automatically after every successful export” option, a “Deploy last export” button, and
wp aouwal-static-export deploy. - Deployment results are stored on the export job and shown in the Deploy tab.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Aouwal Static Site Export alternatives
All cloudflare-pages plugins →| Rank | Plugin | Active installs |
|---|---|---|
| 2 |
|
<10 |
FAQ
Aouwal Static Site Export: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Aouwal Static Site Export free?
Yes. Aouwal Static Site Export is free to download and use from the official WordPress.org plugin directory.
Is Aouwal Static Site Export safe to use in 2026?
Aouwal Static Site Export is a solid plugin choice in 2026, with a few things worth checking first. Is rated 5/5 and was last updated 16 hours ago, and scores 71/100 on our health check.
How many websites use Aouwal Static Site Export?
Aouwal Static Site Export is active on <10 WordPress websites and has been downloaded 1,366 times since it launched in October 2026. It was downloaded 940 times in the last 30 days.
Does Aouwal Static Site Export work with WordPress 7.1?
Yes. The developer has tested Aouwal Static Site Export up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.
What PHP version does Aouwal Static Site Export need?
Aouwal Static Site Export requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Aouwal Static Site Export last updated?
The latest version, 1.15.0, was released on November 29, 2026 (16 hours ago).
Who makes Aouwal Static Site Export?
Aouwal Static Site Export is developed and maintained by Abdul Aouwal.
What are the best alternatives to Aouwal Static Site Export?
The most popular alternatives to Aouwal Static Site Export are Pinery Static (<10 installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card



