DEV Community

Egoi Cantero
Egoi Cantero

Posted on

How to deploy Headless WordPress + React Js to production

Hi there!

I have been working for the first time on a project which uses a Headless Wordpress as a backend and React Js as a frontend.

Once finished, I wonder how could I deploy it to production. I have been reading documentation and trying to figure out how it should work, but I´m still pretty far away to understand it properly.

I would appreciate any kind of tips or linked tutorial so that I can get it.

Thanks in advice!

Top comments (2)

Collapse
 
rimiweb profile image
rimi-web

1: WordPress Backend → Host on Kinsta, WP Engine, Devrims or VPS. Enable API & CORS.
2: React Frontend → Deploy via Vercel, Netlify, or Cloudflare Pages.
3: Env Setup → Set REACT_APP_API_URL for API access.
4: Optimize → Use CDN, caching, and automate deployments with CI/CD.

Collapse
 
tsabrandon profile image
Brandon

Hi, have you found a way regarding this? Im also building something like this and dont know how to deploy. If you could share some that would be really helpful