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

Plugin activated but no “access-control-allow-origin” set

$
0
0

Replies: 0

I activated the plugin and set ‘access-control-allow-origin’ to * (this is for a read-only consumable API, in fact I actually only need to make my XML feed respond with this header).

However, when I examine the network request, no ‘access-control-allow-origin’ is sent. Also if I used the built-in tool to “Inspect headers” and enter my own website (https://blog.momeas.com/), it tells me that no ‘access-control-allow-origin’ is set.

I am running on Plesk, which is a Windows-based all-in-one hosting platform. PHP version is 7.4.3.

I have tried BOTH the settings in the “Advanced” tab for “Use PHP to send headers” and “Use Apache”. I think my server is running Windows IIS (I’m not 100% sure) and I think it uses FastCGI.

is there some caching that might need to be flushed to get the headers to modify ?

Thanks
Jason

  • This topic was modified 12 seconds ago by jasonfb.

Viewing all articles
Browse latest Browse all 59525

Trending Articles