- This topic has 2 replies, 2 voices, and was last updated 7 years, 4 months ago by Andrew Misplon.
Tagged: broken link googleapis
- AuthorPosts
- June 4, 2017 at 1:14 pm #6856
RonParticipantWhen 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?
June 5, 2017 at 4:19 am #6857
Andrew MisplonKeymasterHi Ron
Thanks for reaching out 🙂
Google Fonts uses
//
vshttp
so that it can automatically default tohttp
orhttps
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.June 5, 2017 at 8:50 am #6865
Andrew MisplonKeymasterThanks 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.)
- AuthorPosts
You must be logged in to reply to this topic.