3 ms·
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
by woodruffw 2y ago
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.)
- j45 2y agoThe file export (xml based) can be pretty reliable too.
- ashishb 2y agoLast 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`.
- cyp0633 2y agoYou may need to authenticate with Application Password to access all information via REST API.