This article describes how to create a static site from a traditional, dynamically generated WordPress site.
Creating a site with static content offers several advantages over a dynamically generated WordPress site:
However, there are some site usage scenarios where static content may not be appropriate:
Before you create the static site content, you should set up a staging site. The staging site runs the original, dynamically generated WordPress site, while the primary site uses the static site content. Usually, you use a subdomain or addon domain for the staging site, and your primary domain name for the static site content.
For generating static site content from the staging site, there are several plugins available that do this. In this article, we use the Simply Static plugin. With this plugin, you can easily generate static content files from your existing WordPress site. To do this, follow these steps:
On the Add Plugins page, in the Search plugins text box, type simply static and then press Enter:
Locate the Simply Static section, and then click Install Now:
When installation is complete, click Activate:
In the left sidebar, click Simply Static, and then click Settings:
The settings page appears. Configure the settings you want, and then click SAVE CHANGES.
To generate the static site, in the left sidebar, click Simply Static, and then click Generate:
On the generate page, click GENERATE STATIC FILES:
For more information about the Simply Static plugin, please visit https://wordpress.org/plugins/simply-static.
Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.