WPSSO Won’t Validate using Google Structured Data Testing Tool
-
Using the https://search.google.com/structured-data/testing-tool, we can see no real change in results. We’ve extensively edited locations and reviews.
-
You haven’t provided a URL to the post/page you are having issues with.
js.
https://www.totalspineandsportscare.com/
- This reply was modified 5 years, 5 months ago by OptimalC.
Here is the Schema JSON-LD for that URL. Is there something incorrect? A quick look shows two different, but similar, organizations – is that the issue you were referring to?
{ "@context":"https://schema.org", "@graph":[ { "@id":"https://www.totalspineandsportscare.com/#id/website", "@context":"https://schema.org", "@type":"WebSite", "url":"https://www.totalspineandsportscare.com/", "name":"Total Spine and Sports Care", "description":"Spine Surgeon in New York on West 57th Street", "headline":"Home", "inLanguage":"en_US", "copyrightYear":"2018", "dateCreated":"2018-10-25T14:29:09+00:00", "datePublished":"2018-10-25T14:29:09+00:00", "dateModified":"2019-05-07T16:40:10+00:00", "publisher":{ "@id":"https://www.totalspineandsportscare.com#id/organization/site", "@context":"https://schema.org", "@type":"Organization", "url":"https://www.totalspineandsportscare.com", "name":"Total Spine and Sports Care", "alternateName":"Dr. Alexios Apazidis Spine Surgeon", "description":"Spine Surgeon in New York on West 57th Street", "logo":{ "@context":"https://schema.org", "@type":"ImageObject", "url":"https://www.totalspineandsportscare.com/wp-content/uploads/2019/04/total-spine-and-sports-care.png", "width":443, "height":177 }, "sameAs":[ "https://www.facebook.com/Total-Spine-Sports-Care-1760642900898696/" ] }, "author":{ "@context":"https://schema.org", "@type":"Person", "name":"admin" }, "image":[ { "@context":"https://schema.org", "@type":"ImageObject", "url":"https://www.totalspineandsportscare.com/wp-content/uploads/2019/04/total-spine-and-sports-care.png", "width":443, "height":177 } ], "alternateName":"Dr. Alexios Apazidis Spine Surgeon", "potentialAction":[ { "@context":"https://schema.org", "@type":"SearchAction", "target":"https://www.totalspineandsportscare.com?s={search_term_string}", "query-input":"required name=search_term_string" } ] }, { "@id":"https://www.totalspineandsportscare.com#id/organization/site", "@context":"https://schema.org", "@type":"Organization", "url":"https://www.totalspineandsportscare.com", "name":"Total Spine and Sports Care", "description":"Spine Surgeon in New York on West 57th Street", "alternateName":"Dr. Alexios Apazidis Spine Surgeon", "logo":{ "@context":"https://schema.org", "@type":"ImageObject", "url":"https://www.totalspineandsportscare.com/wp-content/uploads/2019/04/total-spine-and-sports-care.png", "width":443, "height":177 }, "sameAs":[ "https://www.facebook.com/Total-Spine-Sports-Care-1760642900898696/" ] }, { "@id":"https://www.totalspineandsportscare.com#id/organization/site/physician.business", "@context":"https://schema.org", "@type":"Organization", "url":"https://www.totalspineandsportscare.com", "name":"Total Spine and Sports Care", "description":"Spine Surgeon in New York on West 57th Street", "alternateName":"Dr. Alexios Apazidis Spine Surgeon", "logo":{ "@context":"https://schema.org", "@type":"ImageObject", "url":"https://www.totalspineandsportscare.com/wp-content/uploads/2019/04/total-spine-and-sports-care.png", "width":443, "height":177 }, "sameAs":[ "https://www.facebook.com/Total-Spine-Sports-Care-1760642900898696/" ], "image":[ { "@context":"https://schema.org", "@type":"ImageObject", "url":"https://www.totalspineandsportscare.com/wp-content/uploads/2019/04/total-spine-and-sports-care.png", "width":443, "height":177 } ] } ] }
js.
FYI – Following up on my previous post (which is currently being held for moderation), the double Organization information appears to come from selecting an organization / localbusiness type when editing a static page, which is also used for the home page (therefore gets the first organization for the home page from the SSO > Schema Markup > Knowledge Graph settings), without selecting an organization in the Organization option. This organization should have defaulted to ‘none’ but was defaulting to null, which – because this is a home page – would fetch the ‘site’ organization information and use that instead.
So, long story short, the two organization markup is correct, but the @context value should have been different (and not inherited from the site organization in the second instance). This has been fixed in WPSSO Core v5.0.1-dev.4.
js.
for itemtype=https://schema.org/Physician>, the testing tool says the image is not present. However, we have selected a default logo within WPSSO.
- The topic ‘WPSSO Won’t Validate using Google Structured Data Testing Tool’ is closed to new replies.