No ‘Access-Control-Allow-Origin

  Web

Symptom:

Icons and fonts are disappearing from your website. Developers tool showing this error:

“No ‘Access-Control-Allow-Origin’ header is present on the requested resource”

Copy and paste this script to your .htaccess

<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin http://www.yourdomain.com
Header set Access-Control-Allow-Credentials true
</IfModule>