• Hello Team,

    As we checked the schema in the latest plugin where we are seeing the custom-post type slug URL https://www.vettechcolleges.com/postblog in the itemListElement attribute under position 1 which should be no display.

    <script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":"https://www.vettechcolleges.com/#website","url":"https://www.vettechcolleges.com/","name":"Vet Tech Colleges","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://www.vettechcolleges.com/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https://www.vettechcolleges.com/blog/top-animal-behavior-psychology-programs#primaryimage","inLanguage":"en-US","url":"https://www.vettechcolleges.com/wp-content/uploads/2014/09/animal-behavior-group-of-horses-200x200.jpg","contentUrl":"https://www.vettechcolleges.com/wp-content/uploads/2014/09/animal-behavior-group-of-horses-200x200.jpg","width":200,"height":200,"caption":"a group of wild horses congregating"},{"@type":"WebPage","@id":"https://www.vettechcolleges.com/blog/top-animal-behavior-psychology-programs#webpage","url":"https://www.vettechcolleges.com/blog/top-animal-behavior-psychology-programs","name":"7 Top Animal Behavior & Psychology Programs","isPartOf":{"@id":"https://www.vettechcolleges.com/#website"},"primaryImageOfPage":{"@id":"https://www.vettechcolleges.com/blog/top-animal-behavior-psychology-programs#primaryimage"},"datePublished":"2022-04-01T06:38:06+00:00","dateModified":"2022-04-07T08:53:53+00:00","description":"Accredited degree programs in animal behavior and psychology are available to help students gain an interdisciplinary approach to the field.","breadcrumb":{"@id":"https://www.vettechcolleges.com/blog/top-animal-behavior-psychology-programs#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https://www.vettechcolleges.com/blog/top-animal-behavior-psychology-programs"]}]},{"@type":"BreadcrumbList","@id":"https://www.vettechcolleges.com/blog/top-animal-behavior-psychology-programs#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blogs","item":"https://www.vettechcolleges.com/postblog"},{"@type":"ListItem","position":2,"name":"Blog","item":"https://www.vettechcolleges.com/blog"},{"@type":"ListItem","position":3,"name":"7 Top Animal Behavior & Psychology Programs in 2022"}]}]}</script>

    My concern is https://www.vettechcolleges.com/blog is the parent page. But if you will see the breadcrumb schema, there is in the itemListElement at the position 1 the URL is displaying is the Blog Custom Post type slug URL & it should be not there because there is no meaning to display it as it’s hidden from the site.

    We know the tool is giving not any error but the following code should not be there which is displaying under the breadcrumb schema.

    {“@type”:”ListItem”,”position”:1,”name”:”Blogs”,”item”:”https://www.vettechcolleges.com/postblog&#8221;}

    We are not getting any idea why the registered slug URL is displaying in Schema.

    Please let us know the solution on it whether it is possible to remove it or not? If yes then what will be the way?

    Thanks,

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author John Havlik

    (@mtekk)

    When using a JSON-LD schema graph there are a couple of things you should keep in mind. First, you probably want to make sure Breadcrumb NavXT doesn’t have the schema.org BreadcrumbList markup to prevent some goofy errors. Second, when using Yoast SEO, you may need the following extension plugin: https://github.com/mtekk/Breadcrumb-NavXT-Schema to use the Breadcrumb NavXT generated BreadcrumbList instead of the Yoast SEO one in the JSON-LD schema graph.

    That all said, the specific JSON-LD schema graph entry you’re wondering about probably isn’t being generated by Breadcrumb NavXT (unless you’re using the Schema add-on).

    Since the /blog page does exist, is there a reason that you are not using the WordPress feature under Settings > Reading to set the “posts page” to “blog” and not have these two separate entities with one that is “hidden”?

Viewing 1 replies (of 1 total)
  • The topic ‘Page Schema Format Issue’ is closed to new replies.