[Resolved] dns-prefetch fonts.googleapis.com

Home Forums Support [Resolved] dns-prefetch fonts.googleapis.com

Home Forums Support dns-prefetch fonts.googleapis.com

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #220953
    morriscountynj

    I use a service called SiteImprove to check for broken links and scripts (among other things), and on every page that uses GeneratePress, it brings up an error for the URL http://fonts.googleapis.com.

    Looking in the source, I see this:
    <link rel='dns-prefetch' href='//fonts.googleapis.com'>
    as well as the specific stylesheet for the custom font I’m using.

    The Google font in question IS coming up correctly, but the call to the API is being considered a broken link. Is there a theme issue, or (probably what’s going on) does SiteImprove just have trouble with that URL because it’s an API call? What do you think?

    #220954
    Tom
    Lead Developer
    Lead Developer

    I think it’s most likely just SiteImprove not recognizing the URL as correct. It could be because http or https is omitted (intentionally).

    It shouldn’t be anything to worry about πŸ™‚

    #220955
    morriscountynj

    Pretty much figured. πŸ™‚ I’ll add it to the list of blocked URLs so it won’t come up again. πŸ™‚ Thanks

    #220960
    Tom
    Lead Developer
    Lead Developer

    No problem πŸ™‚

    #238839
    achims

    Hi,

    i just checked my GeneratePress-Website with http://validator.w3.org/checklink
    and got the same Error like morriscountynj.

    And if you try to load fonts.googleapis.com like here: <link rel=’dns-prefetch’ href=’//fonts.googleapis.com’ /> there is an 404 Error.

    Maybe it is not a tragedy … What do you think?

    Thanks for your help.

    Achim

    PS: This Link works, so maybe there is no Problem πŸ™‚
    https://fonts.googleapis.com/css?family=Open+Sans

    #238883
    Tom
    Lead Developer
    Lead Developer

    I think it’s probably just a false negative πŸ™‚

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