Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

REST API error when using a custom site url

$
0
0

Replies: 0

Hi!
Your plugin works wonderfully in a “standard” wordpress environment. However, we’re creating a headless environment for which we need to set the Site Address (URL) (in Settings -> General) to something other than the WordPress Address.

The initial REST API /wp-json/instant-images/test/ call immediately fails, because it is falsely run on the headless (Site Address) domain, rather than the wp-admin (WordPress Address) domain.

I can’t find any reference to this. Please advise.


Viewing all articles
Browse latest Browse all 59525

Trending Articles