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

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
Alex Nielsen
~ 4 years 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 Lengstorf
Jason Lengstorf(instructor)
~ 4 years ago

@alex happy to hear it!