Three ways to convert WordPress to a static site
| Topic | Export plugin | Static site generator | Hand-built rebuild |
|---|---|---|---|
| How it works | Crawls your WordPress site and saves each page as HTML | Imports your content into Hugo, Eleventy, Astro or similar | Each page is rebuilt in clean code from your content |
| WordPress afterwards | Stays, hidden, for editing | Gone | Gone |
| Design | Your current theme, as it is | Rebuilt as a template | Your current look or a redesign |
| Page weight | Keeps the theme's and plugins' code | Light | Light: only what each page uses |
| Skills needed | Some WordPress know-how | A developer | None on your side |
| Good for | A quick freeze of a site that rarely changes | Technical teams | Owners who want it done and checked |
1. Export WordPress to HTML with a plugin
A plugin such as Simply Static visits every page of your WordPress site and saves the result as HTML files. You upload those files to a host and the public sees a static site. A crawler such as wget can produce a similar mirror from the command line.
It is the quickest route and the site looks exactly as it did. The downsides come later:
- WordPress still runs somewhere so you can edit and it still needs updates, just out of public view
- Every change means editing in WordPress and exporting again
- The pages carry all the theme and plugin code they had before, so the speed gain is limited
- Forms, search and comments stop working until you replace them
2. WordPress to a static site generator
A static site generator builds a site from content files and templates. To move, you export your posts and pages (usually as Markdown), rebuild the design as templates and let the generator produce the HTML. Hugo, Eleventy and Astro are common choices.
The result is clean and fast. WordPress can go. It suits teams with a developer who will run the build. Content edits happen in text files or a separate content tool, which is a big change for owners used to the WordPress dashboard.
3. A hand-built static rebuild
This is the method Digital Consulting uses for leavingwp clients. Each page is rebuilt in clean HTML and CSS from your content, with the same words at the same web address, in your current design or a new one. Forms, search and booking links get small static replacements. Then a script compares every page with the original before anything goes live.
It takes longer than an export and you do not run a build tool yourself: Digital Consulting makes your changes. In return, WordPress leaves your hosting completely and the pages carry no leftover theme or plugin code.
What breaks when you convert WordPress to HTML
Anything that needs the server to do work on each visit stops working on a static site. Plan a replacement for each one before you switch:
| WordPress feature | Static replacement |
|---|---|
| Contact and quote forms | A small form handler that emails you, with spam protection |
| Site search | A search index built with the site, running in the browser |
| Comments | Usually dropped or an embedded comment service |
| Scheduled posts | A publish job that releases posts on their date |
| Shortcodes and page builder blocks | Rebuilt as plain HTML sections |
| Redirects in a plugin | Server rules, such as an .htaccess file |
| Online store | A hosted store or checkout page (or keep WordPress for the store only) |
Keep your SEO during the conversion
Whichever method you use, the conversion must keep every web address, title, description, heading, image and redirect. Export plugins sometimes change trailing slashes, drop pagination pages or miss pages that nothing links to. Check the new site against a crawl of the old one before you switch. The website redesign SEO checklist lists each check.
Rather have it done for you?See your homepage rebuilt as a static page, free.
See my homepage redone