3 ms·
I've had it on my TODO-list to try out that plugin, thanks for reminding me! How many sites have you tested it on, have you had any issues? I'm gonna play arou
by spurgu 6y ago
I've had it on my TODO-list to try out that plugin, thanks for reminding me!
How many sites have you tested it on, have you had any issues? I'm gonna play around with it now but what I'm mostly concerned about now is how you manage the site if you point the web server to the static directory.
I made a prototype at one point where you have your actual WP site in a subdirectory, like example.com/wordpress, which is IP restricted (or behind http auth). Then you crawl that site with wget (or curl) to generate static HTML and to finish it off by search/replacing the HTML files (removing the /wordpress portion). Then you serve the static files to general users.
- spurgu 6y agoIf you happen to ever read this, I ended up with a setup similar to the hacky one I did before: - WP moved to subdirectory (WP home and siteurl changed in DB) - Static site served normally from (and generated to) webroot Just needed to add sitemaps and robots.txt to the config to be included. Workflow is super smooth. Login to example.com/wordpress/wp-admin/, view your changes at example.com/wordpress and when you're happy, publish the site through the plugin. Curious to see what kinds of issues I might be running into later on (this was just a quick test).