• On any device and browser my website will show up in Lato font exept in Safari on Apple computers it will come up with a strange error:

    Access to font at ‘https://www.mysite.com/wp-content/uploads/omgf/sydney-google-fonts/lato-normal-400.woff2’ from origin ‘https://www.mysite.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

    This error indicates a missing https in the CSS file but the CSS looks just perfect and all fonts are loaded via https and the same domain:

    /**
     * Auto Generated by OMGF
     * @author: Daan van den Bergh
     * @url: https://ffw.press
     */
    
    @font-face {
        font-family: 'Lato';
        font-style: normal;
        font-weight: 400;
        font-display: swap;
        src: url('https://www.mysite.com/wp-content/uploads/omgf/sydney-google-fonts/lato-normal-400.eot');
        src: 
        url('https://www.mysite.com/wp-content/uploads/omgf/sydney-google-fonts/lato-normal-400.woff2') format('woff2'),
        url('https://www.mysite.com/wp-content/uploads/omgf/sydney-google-fonts/lato-normal-400.woff') format('woff'),
        url('https://www.mysite.com/wp-content/uploads/omgf/sydney-google-fonts/lato-normal-400.ttf') format('ttf');
    }
    • This topic was modified 3 years, 9 months ago by baumannmusic.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Hi!

    Sorry for the late reply: I try to avoid screens on friday and saturday ??

    Your site seems to be having a lot of CORS related issues, which doesn’t necessarily indicate SSL (https) related issues. It’s possible, but in your case that’s not the issue, I think. I think your server is configured to not load resources from external sources.

    Now, I don’t own a Mac, so I can’t reproduce the issue you’re having, but I think you should contact your hosting provider about this. As it’s not specifically related to OMGF or fonts. I see CORS related errors pointing to Youtube, Google Analytics and Base64 encoded resources.

Viewing 1 replies (of 1 total)
  • The topic ‘Safari fonts missing due to CORS https issue’ is closed to new replies.