Hi
I have a problem with my site’s fonts: babyluv.ee
I added the following code to the htaccess:
<FilesMatch “.(ttf|otf|woff)$”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>
It’s a part from a wp multisite. How can I add fonts to both sites?
Hey Imtheguy,
Thank you for your patience, is this added the babyluvstudio.com htaccess?
I believe you should be using mod_headers.c like this, are you sure your server is Apache and your mod_headers are enabled?
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
if mod_headers are not enabled then it won’t work, try asking your webhost if they are enabled, because if they are not the server will have to be restarted by the webhost.
Best regards,
Mike
Hi
babyluvstudio.com uses the same htaccess as babyluv.ee. It’s parked domain. Does that change anything?