Access to XMLHttpRequest blocked by CORS policy
-
A website has recently added https / SSL, and have issues with this plugin.
In inspection in Google Chrome, the following error appears:
“Access to XMLHttpRequest at ‘https://www.ultimosdias.es/wp-json/wordpress-popular-posts/v1/popular-posts/’ from origin ‘https://www.ultimosdias.es’ has been blocked by CORS policy: Request header field X-Requested-With is not allowed by Access-Control-Allow-Headers in preflight response.”How can this be solved?
The site is already changed to https, also in wordpress.The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Access to XMLHttpRequest blocked by CORS policy’ is closed to new replies.