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.
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.
Installing Staatic is simple!
Install from within WordPress
- Visit the plugins page within your WordPress Admin dashboard and select ‘Add New’;
- Search for ‘Staatic’;
- Activate ‘Staatic’ from your Plugins page;
- Go to ‘After activation’ below.
- Upload the ‘staatic’ folder to the
- Activate the ‘Staatic’ plugin through the ‘Plugins’ menu in WordPress;
- Go to ‘After activation’ below.
- Click on the ‘Staatic’ menu item on the left side navigation menu;
- On the settings page, provide the relevant Build & Deployment settings;
- 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 staatic.com.
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 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
توسعه دهندگان و همکاران
“Staatic – Static Site Generator” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.مشارکت کنندگان
Release date: August 30th, 2022.
- Adds support for alternative S3-compatible providers by accepting a custom endpoint in the S3 deployment method.
- Allows the maximum number of invalidation paths to be adjusted when invalidating the CloudFront cache.
- Allows the path to invalidate everything from the CloudFront cache to be adjusted.
- Adds the ability to apply a canned ACL to uploaded files in the S3 deployment method.
- Stores sensitive setting values (passwords, keys and tokens) in encrypted form.
- Improves overall compatibility with Elementor page builder plugin.
- Skips transformation of fragment-only links while processing HTML files, resolving an issue with Elementor Popups.
- Increases maximum length of supported URLs from 255 to 2083 characters.
- Updates external dependencies.
- Fixes handling of HTML entities while extracting links from HTML documents, resolving issues with obfuscated mailto-links and SVG data URLs.
Release date: August 17th, 2022.
- When HTTP basic authentication credentials are provided, these will now be used to authenticate any internal request.
staatic_netlify_config_extrafilter hook to allow additions to the generated
netlify.tomlfile when using the Netlify deployment method.
staatic_additional_pathsfilter hooks to allow additional urls and paths to be dynamically added.
- Detects and includes wp-emoji assets in build.
- Fixes edge case causing transformed HTML resources to be incomplete.
Release date: July 28th, 2022.
- Allows publication logs to be exported.
- Automatically excludes Contact Form 7 captcha and uploads directories as part of additional paths setting.
- Clears plugin transient cache after upgrading plugin.
- Updates external dependencies.
- Removes wp_oembed discovery links while crawling site due to incompatible URL-structure.
- Fixes edge case causing incorrect publication status after canceling a publication in progress.
Release date: July 2nd, 2022.
- Allows (past) publications to be redeployed, making it possible to quickly revert after a mistake.
- Improves XML sitemap detection and changes default additional URL to
- Automatically detects the sitemap URL from
- Improves plugin compatibility with Windows environments.
- Improves plugin compatibility with WordPress installations within a subdirectory.
- Optimizes build files storage, improving overall performance and reducing disk usage.
- Various technical improvements in crawler component.
- Excludes results without content in Netlify upload manifest.
- Fixes edge case in database migration coordinator that can cause an error while upgrading/downgrading.
For the changelog of earlier releases, please refer to the changelog on staatic.com.