Automattic / vip-decoupled-bundle

WordPress VIP decoupled plugin bundle
29 stars 5 forks source link

Detect and document mismatched `home` / `siteurl` base path #56

Closed chriszarate closed 2 years ago

chriszarate commented 2 years ago

When running a decoupled site against a multisite instance, a mismatched home / siteurl base path can cause severe issues, including REST API 404s. This basically makes WordPress inoperable.

Detect and document this issue. When present, loudly warn:

Screen Shot 2022-05-03 at 2 24 00 PM

Additionally, improve the existing warning when home is not pointed to a decoupled frontend:

Screen Shot 2022-05-03 at 2 21 04 PM