If you have encounter this error:
Font from origin ‘http://mydomain.com’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://myanotherdomain.com’ is therefore not allowed access.
Insert this code to the .htaccess file of ‘http://mydomain.com’ to fix the issue.
<IfModule mod_headers.c> <FilesMatch "\.(svg|ttf|otf|eot|woff|woff2)$"> Header set Access-Control-Allow-Origin "*" </FilesMatch> </IfModule>