Viewing 2 replies - 1 through 2 (of 2 total)
  • Save yourself the trouble: put the WordPress backend and the React frontend on separate virtual hosts (or at least different paths).

    One of the main reasons for going headless is to decouple the two, so why are you trying to string them back together on the same vhost and even the same path?

    Maybe you should put the WordPress backend on the custom port and the React front-end on the default 80/443, so you don’t have to go through another step to serve the frontend elsewhere?

    Thread Starter Jawad Zahid

    (@jawadzahid10)

    George, thanks for the help.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Deploying Headless Website to Server’ is closed to new replies.