Open jochennoack opened 10 months ago
Contao version: 4.13 Bundle version: 1.13.1 PHP version: 8.2.
If the starting point of a website is configured in multiple languages and a URL prefix is used, the language prefix is unfortunately also interpreted in the logo URL. In other words, it would make sense to output the complete URL here.
{ "@context": "https:\/\/schema.org", "@graph": [ { "@type": "WebPage" }, { "@type": "Organization", "logo": "files\/logo.png", "name": "Organisationsname", "url": "https:\/\/www.website.de" }, ] }
{ "@context": "https:\/\/schema.org", "@graph": [ { "@type": "WebPage" }, { "@type": "Organization", "logo": "https:\/\/www.website.de\/files\/logo.png", "name": "Organisationsname", "url": "https:\/\/www.website.de" }, ] }
@jochennoack Good point, can you provide an PR?
Context
Contao version: 4.13 Bundle version: 1.13.1 PHP version: 8.2.
Description
If the starting point of a website is configured in multiple languages and a URL prefix is used, the language prefix is unfortunately also interpreted in the logo URL. In other words, it would make sense to output the complete URL here.
Validator output with incorrect interpretation
JSON Code:
JSON code optimised, with complete URL: