Where were these links? In the Non-AMP or the AMP?
And how did you discover them?
A screenshot or some info would be very helpful.
I found these when crawling the site and checking for outlinks using screaming frog.
These are the screenshots from screaming frog and our page source:
https://ibb.co/NWsRZ8X
https://ibb.co/frs7y2d
Why do these keep appearing in the source? I also want to know if it’s your plugin inserting these.
<link rel=”amphtml” href=”https://usacustomsclearance.com/process/why-is-a-customs-bond-needed/amp/” /><meta name=”generator” content=”AMP for WP 1.0.58.5″/><link rel=’dns-prefetch’ href=’//www.rocpellami.com’ />
<link rel=’dns-prefetch’ href=’//www.southernspringsdental.com’ />
<link rel=’dns-prefetch’ href=’//zazalanoisette.com’ />
<link rel=’dns-prefetch’ href=’//prcomputer.hu’ />
<link rel=’dns-prefetch’ href=’//s.w.org’ />
So, these are dns-prefetch tags on your non-amp pages,
This is one of the URL I checked: https://usacustomsclearance.com/process/why-is-a-customs-bond-needed/
see: https://take.ms/wUvnY
Currently I only see dns-prefetch request from s.w.org – which is the CDN of WordPress itself which is probably getting added from Jetpack.
Here’s what we are adding:
<link rel="amphtml" href="https://usacustomsclearance.com/process/why-is-a-customs-bond-needed/amp/" /><meta name="generator" content="AMP for WP 1.0.58.5"/><
That’s for AMP-HTML detection.
But
<link rel=’dns-prefetch’ href=’//s.w.org’ /> is not getting added from us. It must be added from the performance plugin that you might be using.
Technically, they are trying to prefetch those resources to make the site faster.
Now, why those links appear, probably because you must have added some of the images from those domains in the content or body.
To troubleshoot, deactivate all the plugins, and activate one by one and check in the source code.
Hi @erixlinux,
Did you solve your problem ?
I have the same exact links in my head and I can’t find where they are ! I disabled all my plugins, change my theme, search for them on my database and all my files but I can’t seem to find anything. 🙁
Thanks
That’s strange agusg – Can you please share your URL?