Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #644372

    Hello there,

    we have decided to use MaxCDN as our content delivery provider in combination with the following:

    – SSL-domain for our website
    – WP Rocket as a cachin plugin
    – GZIP compression activated by our web hoster

    For the time being this works very well. However, we are having trouble displaying our social icons and other icons such as for e-mail etc. as well. Having talked to MaxCDN’s support they suggest that this is because the origin server is redirecting some of MaxCDN’s request back to our website, therefore not allowing the CDN to fetch all files properly (see example attached as private content).

    Any suggestions on how to eliminate this issue? :)

    Best
    Emil

    #644408

    Hey wayfareescort,

    Please check this link and try the suggested steps to fix the icon issue http://kriesi.at/documentation/enfold/enable-cors/

    let us know if you have any questions :)

    Best regards,
    Vinay

    #644420

    Hey Vinay,

    in the root of my wordpress folder, WP rocket has already added the following lines to the .htaccess file:

    # Allow access to web fonts from all domains.
    <FilesMatch “\.(eot|otf|tt[cf]|woff2?)$”>
    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin “*”
    </IfModule>
    </FilesMatch>

    I have replaced this code by the one mentioned in your link, but no change. What else could I try? :)

    #644854

    Hi,

    Can you paste the whole .htaccess file contents here.

    Best regards,
    Josue

    #645413

    Sure thing, I’ll place under private content.

    So many thanks for your help!

    #645503

    Hi,

    I think the issue is that you have multiple <IfModule mod_headers.c> declarations, try using only one.

    Best regards,
    Josue

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.