[Resolved] Load Webfonts (also) via SSL

Home Forums Support [Resolved] Load Webfonts (also) via SSL

Home Forums Support Load Webfonts (also) via SSL

  • This topic has 5 replies, 2 voices, and was last updated 8 years ago by Tom.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #187399
    shorshe

    Hi Tom!

    I recently updated my sites to use SSL throughout all of the content. I use Letsencrypt as a free certificate authority.

    I’m getting mixed content warnings in Chrome, as the web fonts from google will load over http:.
    Google will deliver the fonts via https, I checked that.
    Do you thing it would be possible to make the web fonts optionally load via https?

    #187484
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    The fonts should load over https regardless – can you link me to your site?

    #187490
    shorshe

    Hi Tom,

    the site is https://baubiologie-brida.de

    I’m getting the following errors in chrome devtools:
    Mixed Content: The page at 'https://baubiologie-brida.de/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/ptsans/v8/lILlYDvubYemzYzN7GbLkInF5uFdDttMLvmWuJdhhgs.ttf'. This request has been blocked; the content must be served over HTTPS.

    And also a warning sign (shield)

    #187506
    Tom
    Lead Developer
    Lead Developer

    Hmm interesting, hard to tell with the caching plugin activated as I can’t really view the source.

    I’m using Google Fonts here on this site while enforcing site-wide https with no issues.

    It may be from a different plugin? Try #1 on this page: https://generatepress.com/knowledgebase/debugging/

    #187509
    shorshe

    Thanks!

    After deactivating and reactivating all the other plugins fonts are now served via https.

    Seems like the builtin purge function of the caching plugin did not purge properly.
    ๐Ÿ™‚

    #187517
    Tom
    Lead Developer
    Lead Developer

    Awesome, glad I could help ๐Ÿ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.