Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

From personal experience: if you’re looking to migrate from WP, I’d strongly recommend just extracting your posts via WordPress’s JSON API. I looked at several of these tools while planning a lift of a large blog to Hugo, and none of them ultimately worked as well as a small one-off Python script that pulled from the JSON API.

(Pulling from the API also means you won’t have to inject any code into your current WP instance.)



Last I checked, it won't capture many aspects like `featured images in a page`. Or even unpublished blogs. I wanted to migrate both.

Further, working offline on a single file makes the whole process hermetic. I needed that to build and improve `wp2hugo`.


You may need to authenticate with Application Password to access all information via REST API.


The file export (xml based) can be pretty reliable too.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: