Support » Plugin: Yoast SEO » Page Schema Format Issue

  • Resolved tejas5989

    (@tejas5989)


    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. There is also not any setting or any hook/filter available related to it. Can you please the solution/suggestion related to it?

    <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>

    I am waiting for a positive response.

    Thank You

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello Tejas,

    Thanks for reaching out regarding your page schema, though the issue is not clear. I ran the URL, https://www.vettechcolleges.com/blog/top-animal-behavior-psychology-programs through the Rich result test and there are no warnings/errors. See image.

    Can you please explain the issue better? Please provide us with screenshots that highlight the issue you are experiencing. You can use any image-sharing service like https://pasteboard.co/, https://snag.gy/, https://imgur.com/, https://snipboard.io/, or even upload the screenshot to your own website. Once you upload it to an image sharing service, please share the link to the image here.

    Thread Starter tejas5989

    (@tejas5989)

    Hello @maybellyne

    Thanks for your feedback.

    Actually, 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"}

    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,

    Plugin Support Maybellyne

    (@maybellyne)

    Thanks for the clarification.

    Indeed, running the URL through the Google rich result test, there are no errors/warnings. But the issue is a bit confusing. Could it be that you selected another page https://www.vettechcolleges.com/postblog as the Blog page in WordPress > Settings > Reading instead of https://www.vettechcolleges.com/blog?

    Also, it seems that you have a third-party plugin Breadcrumb NavXT for your breadcrumb/navigayion which may be causing a conflict.

    Often, we see problems occur in combination with another plugin or theme. The fastest way to rule out any conflict, is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Twenty.

    Please test this on your development or staging site, if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin has a troubleshooting mode, which does not affect normal visitors to your site.

    If you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts

    If you do not feel comfortable to do this yourself or if this does not solve your issue, our Yoast SEO Premium plugin comes with one year of (technical) support.

    Plugin Support Jeroen Rotty

    (@jeroenrotty)

    I marked this thread as resolved due to a lack of activity by the original poster. The original poster is always welcome to re-open this topic.

    If you are not the original poster but have a similar issue, please read this post before opening a new request.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.