2 ms·
Do you still have a regular WordPress host though? Do you use WordPress.com? I always wanted to do this but every solution requires some non-free PHP hosting a
by thitcanh 5y ago
Do you still have a regular WordPress host though? Do you use WordPress.com?
I always wanted to do this but every solution requires some non-free PHP hosting alongside the static host. WordPress.com doesn’t let you customize it unless you pay and if you want to use it headlessly you have to build a non-WordPress template elsewhere.
I have a low-traffic low-edit WordPress site I want to staticize, but no solution is server-free.
- marban 5y agoYes I use wp.com as a dumb backend with a somewhat blank template so SEs won't find it. Then pull all posts via the API, download images, etc. Render them via Jinja and upload them to Netlify.
- thitcanh 5y agoYeah that sounds reasonable. I don’t know if I’ll ever get around to rewriting the templates. By the way you could just use the images served from WordPress.com I assume… unless the ToS don’t allow that.
- marban 5y agowp.com does some hotlinking prevention IIRC so I just download them with Python. Plus, I like hosting assets on my own turf. Peace of mind...