• Resolved alfateam

    (@alfateam)


    Hello,

    I have installed W3 Total Cache but I’m getting error, on console:

    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://cloud.mysite.com/assests/uploads/2018/12/why_choose_3.svg. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).[Learn More]

    htaccess file have the proper data:

    # BEGIN W3TC CDN

    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin “*”
    </IfModule>
    # END W3TC CDN

    How to fix this problem ? In the meantime I have disabled the plugin.

Viewing 16 replies (of 16 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    The provided modified rule is correct. Tested and working as expected. There must be some other issues that need to be investigated. It looks like your CDN doesn’t add the CORS header to the SVG file.
    At this point, I can offer you our Professional support to investigate the issue. Please contact us via Plugin, Performance>support

Viewing 16 replies (of 16 total)
  • The topic ‘CORS header ‘Access-Control-Allow-Origin’ missing’ is closed to new replies.