No images – just “Loading…” – blocked by CORS policy
-
Hello,
Your plugin has been working fine, then suddenly 2 days ago it would only show “Loading…” and have no images loading.
Also, in the console there are 2 errors showing.Errors here:
https://bit.ly/insta-errors-dropboxAccess to XMLHttpRequest at 'https://www.instagram.com/MY_URL_XYZ/?__a=1' from origin 'https://staging3.MY_URL_XYZ.com.au' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. jquery.min.js?ver=3.5.1:2 GET https://www.instagram.com/MY_URL_XYZ/?__a=1 net::ERR_FAILED
I’ve done the following:
- disabled most other plugins to check for clashes
- Activated Theme “Twenty Twenty One”
- Cleared all caches on – browser, plugin, speed cache
- Tested on different devices/browsers
- Updated my .htaccess file with:
<ifModule mod_headers.c> Header set Access-Control-Allow-Origin: * </ifModule>
I have the live site transferred to a staging server and can give you access to check it out/test.
Thanks in advance.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘No images – just “Loading…” – blocked by CORS policy’ is closed to new replies.