Staatic – Static Site Generator


Staatic allows you to generate and deploy an optimized static version of your WordPress site, improving performance, SEO and security all at the same time.

Features of Staatic include:

  • Powerful Crawler to transform your WordPress site quickly.
  • Supports multiple deployment methods, e.g. Netlify, AWS (Amazon Web Services) S3 or S3-compatible providers + CloudFront integration, or even your local server (dedicated or shared hosting).
  • Very flexible out of the box (allows for additional urls, paths, redirects, exclude rules).
  • Supports HTTP (301, 302, 307, 308) redirects, custom “404 not found” page and other HTTP headers.
  • CLI command to publish from the command line.
  • Compatible with WordPress MultiSite installations.
  • Compatible with HTTP basic auth protected WordPress installations.
  • Various integrations to improve compatibility with popular WordPress plugins.

Depending on the chosen deployment method, additional features may be available.

Staatic Premium

In order to support ongoing development of Staatic, please consider going Premium. In addition to helping the authors maintain Staatic, Staatic Premium adds additional functionality.

For more information visit Staatic.


  • Use your WordPress installation as a private staging environment and make all of the modifications you need. Then publish these changes to your highly optimized and consumer facing static site with the click of a button.
  • Monitor the status of your publications while they happen and review details of past publications to easily troubleshoot any issues.
  • Configure and fine tune the way Staatic processes your site to suit your specific needs.


Installing Staatic is simple!

Install from within WordPress

  1. Visit the plugins page within your WordPress Admin dashboard and select ‘Add New’;
  2. Search for ‘Staatic’;
  3. Activate ‘Staatic’ from your Plugins page;
  4. Go to ‘After activation’ below.

Install manually

  1. Upload the ‘staatic’ folder to the /wp-content/plugins/ directory;
  2. Activate the ‘Staatic’ plugin through the ‘Plugins’ menu in WordPress;
  3. Go to ‘After activation’ below.

After activation

  1. Click on the ‘Staatic’ menu item on the left side navigation menu;
  2. On the settings page, provide the relevant Build & Deployment settings;
  3. Start publishing to your static site!


How will Staatic improve the performance of my site?

Staatic will convert your dynamic WordPress site into a static site consisting of HTML assets, images, scripts and other assets. By removing WordPress (and even PHP) from the equation, requested pages from your site can be served instantly, instead of having to be generated on the fly.

Why not use a caching plugin?

Caching plugins are great to improve the performance of your site as well, however they (usually) don’t remove WordPress itself from the stack, which adds additional latency.

Also by using Staatic, you are free to host your site anywhere. You could for example choose a very fast cloud provider or content delivery network, providing even more performance.

Will the appearance of my site change?

No. At least, it should not. If the static version of your site does differ, it is probably because of invalid HTML in your original WordPress site, which could not be converted correctly. In that case you can verify the validity of your HTML using a validator service like W3C Markup Validation Service.

How will Staatic improve the security of my site?

Since your site is converted into static HTML pages, the attack surface is greatly reduced. That means less need to worry about keeping WordPress, plugins and themes up-to-date.

Is Staatic compatible with all plugins?

Unfortunately not. Because your site is converted into a static site, dynamic server side functions are not available. Plugins that require this, for example to process forms, retrieve data externally etc., do not work out of the box, or are not supported at all.

You will need to make modifications to make such features work, or you can choose Staatic Premium which adds such functionality automatically. For more information, please visit

Will it work on shared or (heavily) restricted servers?

Staatic has been optimized to work in most environments. The major requirements are that the plugin is able to write to the work directory and connect to your WordPress installation.

Where can I get help?

If you have any questions or problems, please have a look at our documentation and FAQ first.

If you cannot find an answer there, feel free to open a topic on our Support Forums.

Want to get in touch directly? Please feel free to contact us. We will get back to you as soon as possible


2023年5月15日 1 reply
Charging monthly is absolutely shameful and disrespectful to the ecosystem of Open Source that you've built your business on. Make a required one-time payment to support self hosted development, or rely on hosted solutions like any self respecting developer. At the very least, make the 'premium' and 'community' features more clear so we dont have to waste time downloading this garbage just to confirm if it can do what we want.
2023年5月3日 1 reply
Are you out of your minds?! You're charging customers monthly and yearly SUBSCRIPTIONS for SELF HOSTED headless WordPress? You're not even actively providing any services for self hosted. You're out of your minds and for this you get a 1 star rating from me.
I've been using Staatic Premium for around six months and found it to be a robust WP --> static solution. I don't have to worry about my web server going down or getting "too much" traffic (I use Cloudflare Pages). In fact, recently my host decided to shut down my server due to a problem with the hardware. My site continued to work as if nothing had happened. Performance is perfect, with my GTMetrix score (performance) at 100% !!! And just as important, support from the Staatic team is amazing. Yes, I recommend Staatic.
I have tried different plugins with varying degrees of success especially given the strict requirements of the deployment including: Ability to set the /tmp/staatic location as the working directory when deployed as a containerised app on a read-only filesystem. Accurately rendered all JS and CSS from complex layouts and sliders without needing to manually track down and add missed assets. Extremely responsive support from Team Staatic including working through the weekend to help resolve the slight issue I faced. 10/10 comes highly recommended!
The plugin gives you all you need and works like a charm. From generating static sites to publishing them in one click only. The great thing about the plugin is the team behind it. I had a few interactions, through the support forum, and they were amazing. Attended to the issues promptly. If the team keeps doing what they are doing, I think they will be unstoppable in WP SSG. Kudos Team Staatic.


“Staatic – Static Site Generator” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。


Staatic – Static Site Generator 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Staatic – Static Site Generator 外掛本地化為台灣繁體中文版。


任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄



Release date: May 29th, 2023.


  • Adds dedicated “Staatic Maintenance” cron interval (by default set to twice daily).


  • Fixes plugin deactivation failure.
  • Fixes potential PHP deprecation error in database migrator.
  • Fixes potential PHP type errors in AWS deployment method.


Release date: May 24th, 2023.


  • Changes default value of “Publication Task Timeout” setting to 180 seconds.
  • Adds staatic_publication_task_timeout filter hook to allow timeout value to be overridden.
  • Displays clearer error message when publication task fails due to a timeout or fatal error.
  • Replaced staatic_publication_[before|after]_task hooks by staatic_publication_task_[before|after].
  • Improves performance of the publication resources cleanup process.
  • Improves performance of remote deployment methods.
  • Adds diagnostics screen, accessible from /wp-admin/admin.php?page=staatic-diagnostics.


  • Unlocks background publisher process lock when publication is canceled.


Release date: April 21st, 2023.



  • Changes default value of “Publication Task Timeout” setting to 60 seconds.
  • Improves self connect tests in config checker.


  • Fixes URI path to S3 key in AWS deploy strategy when using permalinks without a trailing slash.


Release date: April 4th, 2023.


  • Improves the default batch sizes during the crawl and deploy phases of the publication process.
  • Improves display of potential failure details in publication logs table.
  • Adds “Publication Task Timeout” (advanced) setting to resolve potential publication issues.
  • Adds progress percentage to live publication status.
  • Improves compatibility with PHP 8 and higher.
  • Updates external dependencies.


  • Fixes issue where first publication does not store generated resources on file system.
  • Fixes the default value of the “Excluded URLs” build setting.
  • Fixes display of settings using list style.
  • Uses the correct filter hook staatic_deploy_batch_size to determine the batch size while deploying.


Release date: March 10th, 2023.


  • Adds native support for data-srcset and data-wpfc-original-srcset HTML srcset attributes.
  • Adds staatic_html_mapping_tags and staatic_html_mapping_srcset filter hooks.


  • Uses the correct region while deploying to an Amazon S3 (or compatible) bucket.
  • Fixes the content type for resources with charset while deploying to an Amazon S3 (or compatible) bucket.


Release date: January 30th, 2023.


  • Adds “HTML DOM parser” crawler setting to allow you to change the HTML DOM parser used while crawling.
  • Adds “Process page not found resources” crawler setting, which by default is set to disabled.


  • Improves performance and reliability of publication task processing.
  • Adds filter hooks staatic_crawl_batch_size and staatic_deploy_batch_size to allow fine-tuning publication performance.
  • Adds support for AWS regions ap-south-2, eu-central-2, eu-south-2 and me-central-1.
  • Prevents PHP warnings when supplying invalid regular expressions in exclude URLs setting.
  • Adds support for database migrations with beta releases.
  • Increases PHP time limit during database migrations and publications.
  • Ensures that the WordPress debug log is excluded when it is within a configured additional path.
  • Updates external dependencies.


  • Uses the correct region while deploying to an Amazon S3 (or compatible) bucket.
  • Corrects display of numbers and sizes in certain languages.

Earlier releases

For the changelog of earlier releases, please refer to the changelog on