Doing a Test Export Before Going Live

We recommend you first prepare your new WordPress development site, but you can also do a test static export from your live WordPress site. WP2Static is designed in a way not to interfere with your existing site, but doing any work on a live site is not a best practice (though all too common in the WordPress world!.

ZIP Deployment to Netlify

This is one of the easiest methods to get started with, allowing you to generate a completely static version of your site as a ZIP file, which you can drag and drop into Netlify’s UI, creating a globally-fast static site, served over HTTPS.

  • Choose the ZIP deployment option
  • Set unique name for your test site
  • Generate the static snapshot of your site
  • Download the ZIP
  • Drop the ZIP into Netlify’s UI
  • Set your site’s name in Netlify
  • Check the static site for any issues

ZIP Deployment to Netlify

From WP2Static’s main screen, select the ZIP Archive (.zip deployment option)

Set a unique name for your test site

This will become the subdomain for your test site on Netlify. To avoid choosing a name already reserved by someone else, you could use a simple formula of your shirt color + breakfast + today’s date, resulting in blueeggs20190407.

Set this as your Destination URL, as a Netlify subdomain, so https://blueeggs20190407.netlify.com

Start the static site generation

Simply click the Start static site export button

Download the ZIP of your static site

Export durations vary based on the size of your site and server speed. We’ll look at options for speeding up exports later in this guide. Once the export is finished, click to download your ZIP file.

Drop the ZIP into Netlify’s website to deploy the test site

After signing up for a free Netlify account and logging in, you’ll see an area to drop your ZIP. This will then publish a new static site within Netlify.

Set the site’s name in Netlify to the one you created earlier

When first creating a site on Netlify like this, they’ll assign a random subdomain to your site. By setting this to the subdomain we chose earlier, it should make all the links in our site work.

Check your new static site!

You should now be able to access the site at the expected domain name. Check it for visual and functional accuracy. We’ll continue to see in this guide how to troubleshoot any issues and optimize dynamic elements like a contact form for static hosting.