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!).
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.
From WP2Static’s main screen, select the ZIP Archive (.zip) deployment option
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
Simply click the Start static site export button
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.
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.
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.
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.