In article HTML source view the image URLs are absolute. For example:
"logo": {
"@type": "ImageObject",
"@id": "https://localhost:7154/#/schema/ImageObject/logo",
"url": "https://localhost:7154/images/hlu.png",
"contentUrl": "https://localhost:7154/images/hlu.png",
"width": 300,
"height": 301
},
In article HTML source view the image URLs are relative. For example:
"logo": {
"@type": "ImageObject",
"@id": "https://localhost:7154/#/schema/ImageObject/logo",
"url": "images/hlu.png",
"contentUrl": "images/hlu.png",
"width": 300,
"height": 301
},
Tested with JBT and 5.4-dev
This is a follow-up issues found in testing #46306
| Labels |
Added:
No Code Attached Yet
|
||
I’m not sure myself whether this issue is relevant.
With Google test https://search.google.com/test/rich-results the relative logo URL is no problem.
Also https://nuxtseo.com/tools/schema-validator states no problem, even in Common Validation Errors it states: Invalid URLs
URLs must be absolute and properly formatted.
Are you are more familar with JSON-LD? Please comment. Anyhow, absolute URL are the save way, right?
Anyway this issue is low priority.