2 ms·
You can use wget or curl to make a static copy of your Wordpress site and publish that. There are some small caveats (all files need to be reachable via links o
by ThePhysicist 7y ago
You can use wget or curl to make a static copy of your Wordpress site and publish that. There are some small caveats (all files need to be reachable via links or you will have to manually tell wget where to find them) but it's a great solution if you want the convenience of Wordpress and the security of a static website.
I set up such a system for my old research group during my PhD (as they were not allowed to use Wordpress directly) and they are still using it 8 years later: http://iramis.cea.fr/spec/Pres/Quantro/static/index.html http://iramis.cea.fr/spec/Pres/Quantro/static/index.html
Back then I wrote a simple Wordpress plugin that would create an empty file when a button was pressed in the UI, and I had a cron job that was executed once per minute, checked if the file existed and if so deleted it and copied the new version of the dynamic website to the static server.