• A few of the fonts are not loading properly on my WordPress website.

    I get this error on the console.
    Font from origin ‘https://$IPAddress’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://$DomainName’ is therefore not allowed access.

    I have tried adding this to the .htaccess file as suggested on forums but it does not help.

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

  • The topic ‘Font not loading properly’ is closed to new replies.