Skip to content

SEO018 · JSON-LD relative URL

Severity: warning

Flags a relative value under a known URL key (url, image, logo, sameAs, contentUrl, thumbnailUrl) in JSON-LD. A value is considered absolute when it carries a URI scheme (https:, data:, mailto:, …) or is protocol-relative (//host/…); only scheme-less paths like /logo.png are flagged.

@id is not checked, because it is a node identifier that is commonly a relative fragment (e.g. #organization) cross-referencing nodes within the same @graph — a valid pattern, not a broken URL.

Search engines need absolute URLs in structured data; a relative URL can’t be resolved reliably.

"image": "https://example.com/logo.png"