Staatic – Static Site Generator

Description

Staatic lets you create and deploy a streamlined static version of your WordPress site, enhancing performance, SEO, and security simultaneously.

Features of Staatic include:

  • Powerful Crawler to transform your WordPress site quickly.
  • Supports multiple deployment methods, e.g. GitHub, 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, etc.).
  • 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.

Screenshots

  • 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.

Installation

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!

FAQ

How will Staatic improve the performance of my site?

Staatic transforms your dynamic WordPress site into a streamlined static site. Starting at the homepage or a designated URL, Staatic uses a web crawler to methodically navigate through every link, post, and page. As it moves through the site, dynamically generated content is captured and converted into static HTML files, while simultaneously fetching related assets like images and scripts.

By eliminating both WordPress and PHP from the delivery process, pages from your site are served instantly, bypassing the delay of on-the-fly generation. This guarantees the quickest possible load times and significantly reduces the time to first byte (TTFB), offering an unparalleled browsing experience for your visitors and enhancing your site’s SEO positioning.

Why not use a caching plugin?

Caching plugins boost site performance by storing data for quicker access, yet they don’t fully bypass WordPress, introducing some latency. Additionally, after every update, these plugins need cache prewarming to serve the first requests quickly. In contrast, static sites are always ‘warmed up’, ensuring consistently rapid load times.

Furthermore, with Staatic, you gain the flexibility to host your site on any platform of your choice. This means you could opt for an ultra-fast cloud provider or a robust content delivery network, further amplifying your site’s performance and ensuring optimal user experience.

Will the appearance of my site change?

No, it shouldn’t. However, if there is a difference in the static version of your site, it might be due to invalid HTML in your original WordPress site that couldn’t be accurately converted. In such instances, consider checking your HTML’s validity using services like the W3C Markup Validation Service.

How will Staatic improve the security of my site?

By converting your site into static HTML pages, you substantially minimize the potential attack surface. This strengthens your website’s security and reduces the ongoing need to update WordPress, its plugins, and themes constantly. As a result, you can enjoy greater peace of mind, knowing your site is resilient to most threats.

Is Staatic compatible with all plugins?

Not entirely. When your site undergoes conversion to a static format, dynamic server-side functionalities become unavailable. As a result, plugins relying on these features – such as those processing forms or fetching external data – might not function immediately or might be unsupported altogether.

To accommodate such features, adjustments or alternatives may be necessary. Alternatively, you can opt for Staatic Premium, which seamlessly integrates some of these functionalities. For detailed insights, visit staatic.com.

Will Staatic function on shared or heavily restricted servers?

Staatic offers broad compatibility, only requiring the permissions to write to the working directory and to initiate an HTTP connection with your dynamic WordPress installation.

Where can I get help?

If you have any questions or issues, 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.

Reviews

يناير 6, 2024
I had been using the plugin for at least a week. And everything worked fine, but some animations didn't work. I decided to contact technical support and they responded quickly. And within 24 hours, the plugin was fixed. It is rare to see a plugin company respond so quickly to what in my case was an update. I'm very grateful for that.
دجنبر 27, 2023 1 reply
Man i had hours of headaches with the most popular static website creator, used this one and it worked immediately, thank you very much.
ماي 15, 2023 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.
ماي 3, 2023 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.
مارس 30, 2023
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.
Read all 9 reviews

Contributors & Developers

“Staatic – Static Site Generator” is open source software. The following people have contributed to this plugin.

Contributors

“Staatic – Static Site Generator” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Staatic – Static Site Generator” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.9.0

Release date: February 20th, 2024.

Improvements

  • Re-enables compression of publication resources files.
  • Adds support for symlinked uploads directory when having “Symlink/Copy Uploads” setting enabled.
  • Improves environment specific path and URL detection for providing default configurations.
  • Improves display of publication log summary on publication detail screen.
  • Displays a notice for live publication status if preparation takes longer than expected.
  • Allows the database to be reset in case database upgrades fail.
  • Adds support for AWS region ca-west-1.
  • Updates external dependencies.

Fixes

  • Fixes reliability issue with compression of publication resource files.
  • Delays scheduling of events while schedule does not exist.
  • Fixes sorting latest publication overview by publisher and status.

1.8.2

Release date: February 9th, 2024.

Fixes

  • Temporarily halts compression of publication resource files due to reliability issue.

1.8.1

Release date: February 9th, 2024.

Improvements

  • Follows redirects on provided URLs during publish changes/selection.
  • Compresses publication resource files to reduce disk usage.
  • Improves plugin configuration on Site Health info screen for undefined values.

Fixes

  • Fixes an edge case with normalizing empty path URLs causing duplicate index files.
  • Fixes some untranslatable language strings.

1.8.0

Release date: January 31st, 2024.

Features

  • Adds “SFTP Server” deployment method (beta).
  • Adds --only-urls, --only-paths and --[no-]deploy arguments to WP-CLI publish command.
  • Adds staatic redeploy WP-CLI command to allow publications to be redeployed from the commandline.
  • Adds “Enforce lowercase URLs” setting for consistent formatting and to prevent case-sensitive duplicate content.
  • Adds “Custom Origin URL” setting for manual override of the site’s home URL.
  • Adds advanced options for following/saving/recursive scanning to “Additional Paths” setting.
  • Adds filter hooks for deploment specific configuration files: staatic_netlify_config_file, staatic_apache_config_file, staatic_nginx_config_file and staatic_staatic_config_file.
  • Adds staatic_extended_url_context filter hook to provide additional context when evaluating and transforming URLs.

Improvements

  • Improves overall compatibility with Avada page builder plugin.
  • Improves overall compatiblity with Bedrock WordPress boilerplate.
  • Adds support for AWS regions il-central-1 and ap-southeast-4.
  • Improves URL extraction from HTML srcset attributes.
  • Improves GitHub deployment method performance.
  • Keeps track of crawled resources based on transformed URL instead of origin URL.
  • Prevents modifying binary resources even though mime type indicates text/html.
  • Various admin interface UX improvements.
  • Updates external dependencies.

Fixes

  • Corrects transformation of specific URLs when using the “Offline URL” destination URL.
  • Fixes handling of follow/save options in “Additional URLs” setting.

Earlier releases

For the changelog of earlier releases, please refer to the changelog on staatic.com.