I can use any technology in my local environment, but I cannot use anything like node.js or php for the production server.
So far I have built the website with nunjucks, a templating engine that outputs html files that I then simply upload them to the production server, node.js only needs to run on my local environment.
Is there any way to use WordPress like that? I want wordpress for the wysiwyg editor and for the SEO plugins.
2
Answers
There are various plugins to achieve this, I tested this one and it works: https://wordpress.org/plugins/static-html-output-plugin/
Of course there is no search or commenting in the static version, but that is to be expected.
If I get that right, than you would like to setup a wordpress site locally and then turn that into static html files, which you can upload to the production server?
In that case
wget
orcurl
are your friends. To download an entire site as static html something like that will do (adjust parameters and urls as you need)