Access-Control-Allow-Origin Google not working
-
Hi there. Even if I add the domains https://www.youtube-nocookie.com and https://googleads.g.doubleclick.net to the Access-Control-Allow-Origin option, the site is still showing the error “Access to XMLHttpRequest at ‘https://googleads.g.doubleclick.net/pagead/id’ from origin ‘https://www.youtube-nocookie.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.”…
I also tried the * value but not working. I confirm that the sentences have been added correctly to my .htaccess.
Which can be the problem? Thanks! Kind regards.The page I need help with: [log in to see the link]
- The topic ‘Access-Control-Allow-Origin Google not working’ is closed to new replies.