Export site from wordpress to static site


Is there any method / document guide to teach me how to export site from Kinsta’s wordpress to host it on Kinsta’s static site? There are several use cases:

  1. Better security for static site
  2. Event website that the there is no update on website when an event completed. User wants to archive the website and delete some time later. Turn it to static site can free us 1 WP quota.
  3. Another kind of UAT / production site.


Hi there Gripen :wave:

I haven’t tried this myself, but perhaps you can try or use any 3rd party WordPress plugins out there - that would help to convert your WordPress pages into HTML (static) pages. Maybe like this one or this one (though I haven’t checked/tested them personally).

Once you got those generated/required static files (HTML files, images and CSS & JS files), then you can store them to your git repository (such as GitHub, GitLab or Bitbucket).

After that you can add a static site from MyKinsta control panel to get those contents from your git repository, and just leave these Build settings fields as blank: Build command, Node version
(while for the Publish directory , you may want to leave it blank if your static files are stored in the root folder in your git repository. If you have an HTML site that doesn’t need to be built that you want to run from a specific subdirectory, place your site files in that directory and put the folder name here, relative to the git repository root folder.)

Best regards,

1 Like

Kinsta has a collection of articles here. You’ll probably want to specifically look at the Headless WordPress article. I was just considering something similar to option #2 as I think that’s a good alternative to shutting a site down, for certain clients.

Thank you Sarah for your suggestion! really much appreciate it! :smiley:

Yup right, and perhaps Gripen also wants to check out this Kinsta’s blog post article here - which also mentions to use a WordPress Simply Static plugin .

Best regards,