WP2Static Copy to Folder Deployment Add-on
The WP2Static WordPress plugin lets you export your WordPress site as a static HTML site. WP2Static puts the exported HTML site in the wp-content/uploads/wp2static-processed-site
subfolder of your WordPress installation.
With this add-on, WP2Static can then copy the HTML site from that subfolder onto a different folder on the same server.
- Install and activate WP2Static in your WordPress.
- Download
wp2static-addon-copy.zip
. - In in WordPress, go to Plugins > Add New > Upload Plugin, upload
wp2static-addon-copy.zip
and activate. - Go to WP2Static > Addons and click on "Disabled" next to "Copy Deployment" to enable the add-on.
- Click the Configure button for "Copy Deployment".
- Target folder: enter the full absolute path to the target folder on your server
- Clean target folder: not implemented yet
- Extra source folder: (optional) enter the full folder from which files will be copied after the deployment (e.g. it can be an
.htaccess
file or extra assets)