• I have a wordpress website, where I want to recreate only the homepage using react and WordPress rest endpoint and host this one page in Netlify, whereas all other posts continue to sit and serve from the WordPress server. Currently, I am using Cloudflare as a DNS provider and AWS Lightsail as a hosting provider. Is there a way i can achieve this where homepage requests go to netlify, rest all links direct to WordPress lightsail instance?

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    The easiest would be to bring the remote page into a WP home page as an iframe. If you create a custom template named front-page.php, you could eliminate the usual WP header and footer so the iframe comprises nearly the entire window.

    The catch is the remote page needs its CSP to be set to allow use in an iframe.

Viewing 1 replies (of 1 total)

The topic ‘Load WordPress Homepage from different server’ is closed to new replies.