Deploy a WordPress-powered Gatsby site to Netlify using the Netlify CLI

InstructorJason Lengstorf

Share this video with your friends

Send Tweet

We can set up our WordPress-powered Gatsby site to automatically deploy to Netlify whenever our code on GitHub changes. In this video, we’ll use the Netlify CLI to configure and deploy our Gatsby site to Netlify.

Alex Nielsen
~ 8 months ago

I have everything in this tutorial working but I have an additional question. Some of the posts on my Wordpress site have inline images. When I source from Wordpress, then build with gatsby, on my localhost version, the images show up. But when I deploy to netlify, the images do not show up. When I inspect the space on the page where they should be I can see the code that says they should be there but they don't ever show up. Any ideas?

FOLLOW UP: Solved - My Wordpress was running on HTTP not https so the images were still hosted on http but netlify is https so the browser was blocking content from mixed sources

Jason Lengstorfinstructor
~ 8 months ago

@alex happy to hear it!