Export Wordpress to Hugo

Hi @jeremie

I’ve moved a lot of pages to Hugo, including a big news site’s blog. The WordPress urls must be properly constructed. For example, if your website example.com includes a blog at example.com/blog and a post utilizes example.com/5-tips-for-something, the hierarchy cannot be taken into account because there is none.
( an extra example: example.com/blog/5-tips-for-something includes /blog/ )

There is also a wordpress plugin that transforms all data to JSON, and you can use the jmooring’s technique to create a custom layout to fetch data to produce all pages with your new design or theme. Hugo new command - #9 by jmooring

I hope you found this information useful.

Thanks

1 Like