[Resolved] Link check brings error

  • Author
    Posts
  • #6856

    Ron
    Participant

    When using a link checker, I get a broken link which come from a typo in the theme code (I think):
    `Line: 27: link rel=’dns-prefetch’ href=’//fonts.googleapis.com’
    Status: 404 Not Found
    The link is broken. Double-check that you have not made any typo, or mistake in copy-pasting. If the link points to a resource that no longer exists, you may want to remove or fix the link.

    Any idea how to fix that?

    #6857

    Andrew Misplon
    Keymaster

    Hi Ron

    Thanks for reaching out 🙂

    Google Fonts uses // vs http so that it can automatically default to http or https depending on the site in question. If you turn off maintenance mode for a bit I can take a look at the your site and confirm.

    #6865

    Andrew Misplon
    Keymaster

    Thanks for confirming the site, I was looking at the wrong one.

    As far as I know, that line is not from Ultra. What you’re seeing there is DNS prefetching, I’d guess that’s being done by your performance plugin.

    DNS prefetching is an attempt to resolve domain names before a user tries to follow a link. This is done using the computer’s normal DNS resolution mechanism.

    Put another way, this is intentionally being inserted by a plugin. The link checker is incorrectly picking this up, it’s a false negative.

    (A little more on DNS prefetching.)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Scroll to top