Cross-Origin resource

Home Forums Use Any Fonts Cross-Origin resource

This topic contains 1 reply, has 2 voices, and was last updated by  Dinesh 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #6317

    Bryan Fisher

    I have a development site ( which loads the h1-h6 font I want (geogrotesque) properly.

    My live site ( is set up on a multisite. When I try to load the same font on the live site, in the Google developer console it says “Font from origin ‘’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘’ is therefore not allowed access.”

    It loads my Use Any Font designation of a body font (klavika) just fine, but gives this error if I have geogrotesque in there.

    “Use relative path for font (Needed when you have domain mapping).” is checked in settings.




    Can you please keep this in your main htaccess file and try ?

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

    Hope this solves the issue.


    • This reply was modified 7 months ago by  Dinesh.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Cross-Origin resource’ is closed to new replies.