Tagged: social icons, SSL, wp rocket
-
AuthorPosts
-
June 7, 2016 at 9:53 pm #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 hosterFor 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
EmilJune 7, 2016 at 11:00 pm #644408Hey 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,
VinayJune 7, 2016 at 11:28 pm #644420Hey 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? :)
June 8, 2016 at 2:49 pm #644854Hi,
Can you paste the whole .htaccess file contents here.
Best regards,
JosueJune 9, 2016 at 1:10 pm #645413Sure thing, I’ll place under private content.
So many thanks for your help!
June 9, 2016 at 3:55 pm #645503Hi,
I think the issue is that you have multiple
<IfModule mod_headers.c>declarations, try using only one.Best regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.
