Yoast Structured Data – Website + Organization data
-
I am trying to figure out how to add structured data to my site through Yoast. Yoast inserts a generic ld+json block in header, and its in this I would like to add/change various content – code below.
1 – The ImageObject URL is wrong – it uses an URL from back when the site was in development on a different URL (next.apacta.com). It does not pick up on the WP site logo. So how can I correct that?
2 – Images on the site in general is delivered in WebP via a passthrough – I am not sure this is valid in structured data, as it is very client specific. Can images be hardcoded in structured data to the raw core-image?
3 – I would like to add a ‘SameAs’ block to the Organization? What is the hook for that?
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://apacta.com/#organization","name":"Apacta","url":"https://apacta.com/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https://apacta.com/#logo","inLanguage":"en-US","url":"https://apacta.com/wp-content/webpc-passthru.php?src=https://next.apacta.com/wp-content/uploads/2021/05/Apacta_logo_header_0d354a.png&nocache=1","contentUrl":"https://apacta.com/wp-content/webpc-passthru.php?src=https://next.apacta.com/wp-content/uploads/2021/05/Apacta_logo_header_0d354a.png&nocache=1","width":120,"height":38,"caption":"Apacta"},"image":{"@id":"https://apacta.com/#logo"}},{"@type":"WebSite","@id":"https://apacta.com/#website","url":"https://apacta.com/","name":"Apacta.com","description":"Order Management and Quality Assurance for Craftsmen","publisher":{"@id":"https://apacta.com/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://apacta.com/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https://apacta.com/#primaryimage","inLanguage":"en-US","url":"https://apacta.com/wp-content/webpc-passthru.php?src=https://apacta.com/wp-content/uploads/2021/04/Nyt-UI-1-2048x1721-1.png&nocache=1","contentUrl":"https://apacta.com/wp-content/webpc-passthru.php?src=https://apacta.com/wp-content/uploads/2021/04/Nyt-UI-1-2048x1721-1.png&nocache=1","width":1794,"height":981,"caption":"Apacta brugerflade til ordrestyring"},{"@type":"WebPage","@id":"https://apacta.com/#webpage","url":"https://apacta.com/","name":"Apacta - Order Management and Quality Assurance for Craftsmen","isPartOf":{"@id":"https://apacta.com/#website"},"about":{"@id":"https://apacta.com/#organization"},"primaryImageOfPage":{"@id":"https://apacta.com/#primaryimage"},"datePublished":"2021-05-27T08:55:10+00:00","dateModified":"2021-09-10T09:31:58+00:00","description":"The right tool for any craftsman. Order Management will be easy and save a lot of time from tedious chores.","breadcrumb":{"@id":"https://apacta.com/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https://apacta.com/"]}]},{"@type":"BreadcrumbList","@id":"https://apacta.com/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home"}]}]}The page I need help with: [log in to see the link]
The topic ‘Yoast Structured Data – Website + Organization data’ is closed to new replies.