Missing images after configuring with CDN

  • September 3, 2015
  • 0 Comments

If you happen to use CDN for your website and some of the images not shown up, some of the error that may appear in the CDN as follow: 

Reason: CORS header 'Access-Control-Allow-Origin' missing)
You can try to add the value below in the .htaccess.

<IfModule mod_headers.c>
<FilesMatch ".(ttf|ttc|otf|eot|woff|font.css|css)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>

How helpful was this article to you?

Posting has been disabled.