Security · HTTPS
Protocol-relative resource URL
The image on this page uses a protocol-relative address starting with //. It works, but it is an outdated pattern. Use https:// instead.
How this page is built
The test card below has src="//techseotests.com/assets/img/site/test-card.svg". The browser fills in the protocol of the page, which is HTTPS here, so the image loads securely.
Why it matters
Protocol-relative addresses were a way to serve the same page over HTTP and HTTPS without mixed content warnings. Now that sites should be HTTPS only, they have no benefit. If the page is ever opened over HTTP, or saved and opened from disk, the resource is fetched insecurely or not at all.
They are usually left over from older templates, embed codes and copied snippets. Once you find one, search for others, because the same snippet is often used on many pages.
How to check it
Search the source for src="// and href="//. Some crawl tools report protocol-relative links and resources.
How to fix it
Replace each protocol-relative address with an explicit https:// address, or with a relative path for files on the same site.