Re: I Built My Own Shitty Static Site Generator
by throwaway201103 on Sunday November 29, 2020 @09:57PM
(#25250332)
It should be possible. You can use wget to crawl your Wordpress site and save it all to html files, which you can then copy/ftp to your static site. I've done this with Drupal. Drupal 6 was at EOL and not getting security fixes. The site was fairly large and had been built over a period of years, but was no longer being updated. We wanted to keep it online, but did not want to take on a project to migrate it to the next major release of Drupal and then get on that update treadmill.
I forget the exact set of wget options but you can find blog posts about how to do this.
Re: I Built My Own Shitty Static Site Generator
by bamboleo on Monday November 30, 2020 @01:59AM
(#25251345)
I’ve done it too, but wget is pretty “dumb” and will try to save files as main.js?v=1.2.3. Also wget doesn’t support everything so you have to carry over some files manually.
I forget the exact set of wget options but you can find blog posts about how to do this.