👷 Wordpress to Contentful
ContentfulWordpress
Last updated
2 min read
I've recently migrated my blogging CDN from WordPress over to Contentful, with the main aim of not hosting my own CDN infrastructure. Removing the complexity of handling its security, so that I can just focus on writing when need takes me.
Since I hadn't started my blog on my WordPress infrastructure, it was quite simple to migrate, wouldn't you believe?
I basically chopped out the WordPress containers from the docker-compose configs this website runs from, refactored the backend service to call the Contentful API, and finally massaged that data through the front-end React components, and Voila, a Contentful-powered blog with a custom front-end.
I do have to admit that I feel I am not following the most optimal route to transport blog posts from Contentful to my Portfolio, Mainly down to my choice to implement my backend service in Rust, and my persistence to have a backend service written in Rust. I could just put everything in the front end and make use of all of Contentful's wonderful client APIs, typings and Rich text renderers without kludging the data model to fit.
In any case, I'm pretty happy with the result, I was able to remove a large and scary part of the infrastructure I had to handle, and now I can easily create new posts with ease without the worry that my services get knocked offline all of my blog posts won't disappear in the digital aether.
Blog
Copyright2025 Dan Clarke