Fonts worked on temp domain, not working on live site

Home Forums Use Any Fonts Fonts worked on temp domain, not working on live site

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #7289
    Bryant Smith
    Guest

    I have a multisite wp install with domain mapping. On the temp domain roadhouse.wp.compsmith.com the fonts for the h1 tags worked fine. Since making the site live and mapping the domain to http://roadhouseyorkville.com/ it broke the h1 tag fonts (the only tags i use the plugin for).

    I have deactivated and reactivated the plungin, enabled “Use absolute path for font” nothing is working.

    On a side note its working fine still on this site on the same wp install http://www.countrykitchensomonauk.com/

    #7291
    Dinesh
    Keymaster

    Hi Bryant,

    Your main installation is blocking the Cross domain resource sharing, so please kindly add this in your htaccess file of your MU WP installation and it should fix the issue.

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

    Thanks

    #7292
    Bryant Smith
    Guest

    Im using nginx

    #7293
    Dinesh
    Keymaster
    #7294
    Bryant Smith
    Guest

    also its working fine here http://www.countrykitchensomonauk.com/

    #7295
    Bryant Smith
    Guest

    Got it! Thanks!

    For anyone that need an anser add this to your sites-avalable

    location ~* \.(eot|ttf|woff|woff2)$ {
        add_header Access-Control-Allow-Origin *;
    }
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Fonts worked on temp domain, not working on live site’ is closed to new replies.