Hacker News new | ask | show | jobs
by nine_k 3427 days ago
...unless they have to pay noticeable money for WP hosting due to serious load, or were bitten by security problems.

A free business idea: write a converter from WP to Jekyll (or Hugo) that converts 95% of a typical WP site right, sell total conversion services, maybe reselling hosting, too.

2 comments

https://github.com/davidbanham/wp-to-wintersmith

Here's one I wrote a few years ago to go from Wordpress to Wintersmith.

The Wordpress export format is pretty gross, though.

I have several WordPress sites (mostly "abandoned"/no longer updated) that I would love to convert to static sites. I would happily pay a decent sum for a tool that could completely handle that conversion/migration.
I used https://de.wordpress.org/plugins/simply-static/ to convert a WP site with 10.000 pages. Took about 60 minutes so i had to increase PHPs max_execution_time. I also tested some other plugins before but most don't worked for me.

I had to turn off HTTPS for the generation time and reportet it as a bug to the developers.

I also converted another WP blog to Markdown and used it with a static site generator. My new site is not online yet, but here is the source of an article aout it: https://github.com/davidak/davidak.de/blob/master/pages/word...

Can't you just dump the website using wget ?
You can also use this but havn't testet it.

wget -N --recursive --page-requisites --html-extension --convert-links https://example.com/

The idea is to keep the site inside a CMS, but a different CMS, one that generates (most) pages statically rather than on-the-fly.