Moving off

WordPress to HTML conversion: three ways to do it

A WordPress to HTML conversion turns your site into plain static files that any web server can send without running WordPress. There are three ways to get there and they differ in how much of WordPress you keep and how much work the result needs later.

Three ways to convert WordPress to a static site

TopicExport pluginStatic site generatorHand-built rebuild
How it worksCrawls your WordPress site and saves each page as HTMLImports your content into Hugo, Eleventy, Astro or similarEach page is rebuilt in clean code from your content
WordPress afterwardsStays, hidden, for editingGoneGone
DesignYour current theme, as it isRebuilt as a templateYour current look or a redesign
Page weightKeeps the theme's and plugins' codeLightLight: only what each page uses
Skills neededSome WordPress know-howA developerNone on your side
Good forA quick freeze of a site that rarely changesTechnical teamsOwners 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 featureStatic replacement
Contact and quote formsA small form handler that emails you, with spam protection
Site searchA search index built with the site, running in the browser
CommentsUsually dropped or an embedded comment service
Scheduled postsA publish job that releases posts on their date
Shortcodes and page builder blocksRebuilt as plain HTML sections
Redirects in a pluginServer rules, such as an .htaccess file
Online storeA 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
Written by Digital Consulting

A web design and SEO studio that builds static websites and moves businesses off WordPress, keeping their pages and web addresses. More about leavingwp

Questions

Frequently asked questions

Can I convert WordPress to HTML for free?

Yes. Free plugins such as Simply Static export your WordPress pages as HTML files and free generators such as Hugo or Eleventy can rebuild the site from your content. The software costs nothing. The time goes into fixing forms, search and links, then checking that every page and address survived.

Will my WordPress plugins work on a static site?

Plugins that change how pages look are captured in the export, because their output is part of the HTML. Plugins that need the server, such as contact forms, search, comments, memberships and stores, stop working. Each one needs a static replacement, such as a form handler or a browser-based search index.

Do I keep WordPress after converting to static?

With an export plugin, yes: WordPress stays installed somewhere private. You edit there and export again. With a static site generator or a hand-built rebuild, no: WordPress can be archived and deleted once the new site has settled. Its plugin and hosting bills stop.

Free homepage preview

See your homepage redone before you decide

Give us your website address. Digital Consulting redesigns your current homepage as a fast static page and emails you a private link. Your own words and pictures, in a new design.

  • Free
  • Preview in 2 business days
  • No passwords needed
  • Nothing changes until you say so
  • Privacy
Coming soon

Free homepage previews are on the way

We're still building this feature, so nothing was sent. In the meantime, Digital Consulting can look at your site and tell you what a move would take.

Email Digital Consulting Use the contact form

info@digitalconsulting.co.za