WP2Static converts a WordPress-powered website into a set of static files for separate deployment. WordPress remains the authoring and management environment, while visitors can be served the exported HTML, CSS, JavaScript, images and other assets.
This arrangement separates the public-facing website from the dynamic WordPress installation. WP2Static discovers site URLs, crawls them, stores the resulting files and performs post-processing before deployment.
This is free and open source software.
Key Features
- Generates a static snapshot of a WordPress website.
- URL detection discovers content that needs to be included in the exported site.
- The crawler requests queued WordPress URLs and writes successful responses into a static-friendly directory structure.
- A crawl cache records URLs that have already been processed successfully.
- Post-processing can modify generated files before they are deployed.
- Removes the requirement for the public-facing copy of the site to execute WordPress or PHP for ordinary page requests.
- Static output can be deployed independently from the WordPress installation.
- Supports installation and dependency management through Composer for source-based deployments.
- The project includes automated code-quality, unit and integration testing infrastructure.
- Useful where WordPress is preferred for editing and administration but the published site is better suited to a static hosting model.
Website: github.com/elementor/wp2static
Support:
Developer: Leon Stafford
License: The Unlicense
WP2Static is written in PHP. Learn PHP with our recommended free books and free tutorials.
Related Software
| PHP Static Site Generators | |
|---|---|
| HydePHP | Content-first Laravel-powered static site generator |
| Jigsaw | Framework for rapidly building static sites |
| Spress | Blog-aware application that transform your plain text files in static sites |
| Sculpin | Can be used to create any type of static website |
| Cecil | Simple and powerful content-driven static site generator |
| Couscous | Turns Markdown documentation into beautiful websites |
| Ata’s SSG | Static site generator for GitHub pages. |
| WP2Static | WordPress plugin for static site generation and deployment |
| Capro | Uses the Blade template engine |
| StaticForge | Processes Markdown and HTML content files through an event-driven pipeline |
| Crossroads | Builds static websites from Markdown-based content with front matter metadata |
| PHPSSG | Personal Home Page Static Site Generator |
| Freezed | Generate static sites with TYPO3 Fluid templates |
| Basildon | Builds sites from text content files with YAML frontmatter and body conten |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.