Yes! This is a click-bait-y title. BUT, I wanted to see if this was possible, and it is!
If you’ve ever wanted a fast and secure WordPress site, here is one way to do it.
NOTE: I would NOT recommend this (probably) for a live site. Maybe there’s a slightly different way of going about this, but I currently do not have my site on this set up because I would not call this a “stable” setup.
To accomplish a “free” (no money out of your pocket) site with WordPress, Gatsby and Netlify, you need to do the following:
gatsby developto make sure things compile.
That’s really it, it’s super simple.
Here’s the demo site: https://cranky-hypatia-4fe7f5.netlify.com/
And here’s the Github repo for the starter: https://github.com/n8finch/wp-starter-netlify-local-by-flywheel-demo
Fork it and do whatever!
There are pros and cons of this setup.
Basically, if you have a static blog or site that doesn’t require any interaction, this might be a great setup for you. It wouldn’t take too much work to get images hosted on Cloudinary, or another CDN.
Currently, I don’t have this workflow set up for myself, and I don’t think I want to run things this way just yet, maybe in the future!
I think an ideal set up for me would be to use Local with a Flywheel remote site that would run backups, SSL, and put images on a CDN for me… Maybe I’ll get a wishlist together for another article!
BUT, it’s a great way to start playing with Gatsby, Netlify, deployments, the content mesh, etc.
I could see myself moving to something like this in the future, but not today.
Any thoughts, let me know @n8finch.