Support » Plugin: Yoast SEO » Breadcrumb in schema missing on paged post first page

  • Resolved Jonas Lundman

    (@jonas-lundman)


    Crated post with page-break, doesnt produce the last breadcrumb (current page) in schema. Our tested post has one parent (category). When paged (- page 2), the breadcrumb shows/ produced.

    yoast settings show categories, wordpress settings permalinks post name.

    Tested with different Themes.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Suwash Kunwar

    (@suascat_wp)

    @jonas-lundman

    We’re sorry you’re having trouble with the breadcrumb schema. I imagine this can be frustrating for you. We’d like to look a closer look.

    If possible, can you take a screenshot that highlights this issue? In addition, could you please show us some example URLs where the issue occurs so that we can take a look at them?

    This would help us investigate the issue further.

    Thread Starter Jonas Lundman

    (@jonas-lundman)

    Hi don have a live site with this yet (we turned yoast off as long as this is problem) but, just crate a post under a category, devide the post into pagination, like — next page — in the editor of the post. The post will be paginated. (Make shure the post have one category, and the category parent is the blog.)

    Plugin Support Michael Tina

    (@mikes41720)

    Hi @jonas-lundman

    We tried creating a new test post and then using the ‘page break’ block and on the second page of that post (/2/) we checked the page source and the breadcrumb schema did generate the last list item for the title of the post. (home > category > post)

    Just to clarify, you mean the issue is with the first page not generating the last list item in the breadcrumb schema, right?

    Thread Starter Jonas Lundman

    (@jonas-lundman)

    Well it is a word confusing here (page paged first paged…), and you said:

    Just to clarify, you mean the issue is with the first page not generating the last list item in the breadcrumb schema, right?

    As we said, to clarify:

    IF THE PAGE IS PAGED (like /2/) = WORKS
    if NOT PAGED (When you first visit to the page) The LAST CRUMB SCHEMA ITEM shows the category, NOT THE PAGE schema crumb item (LAST SCHEMA CRUMB IS MISSING)

    WRONG:

    {
    	            "@type": "BreadcrumbList",
    	            "@id": "http://localhost/lite/paged-post/#breadcrumb",
    	            "itemListElement": [
    	                {
    	                    "@type": "ListItem",
    	                    "position": 1,
    	                    "name": "Home",
    	                    "item": "https://localhost/lite/"
    	                },
    	                {
    	                    "@type": "ListItem",
    	                    "position": 2,
    	                    "name": "Company blog",
    	                    "item": "https://localhost/lite/entex-blog/"
    	                },
    	                {
    	                    "@type": "ListItem",
    	                    "position": 3,
    	                    "name": "News"
    	                }
    	            ]
    	        }

    RIGHT:

    {
    	            "@type": "BreadcrumbList",
    	            "@id": "http://localhost/lite/paged-post/2/#breadcrumb",
    	            "itemListElement": [
    	                {
    	                    "@type": "ListItem",
    	                    "position": 1,
    	                    "name": "Home",
    	                    "item": "https://localhost/lite/"
    	                },
    	                {
    	                    "@type": "ListItem",
    	                    "position": 2,
    	                    "name": "Company blog",
    	                    "item": "https://localhost/lite/entex-blog/"
    	                },
    	                {
    	                    "@type": "ListItem",
    	                    "position": 3,
    	                    "name": "News",
    	                    "item": "https://localhost/lite/category/news/"
    	                },
    	                {
    	                    "@type": "ListItem",
    	                    "position": 4,
    	                    "name": "Paged post"
    	                }
    	            ]
    	        }

    Hope its better explained…

    Plugin Support Michael Tina

    (@mikes41720)

    Hi @jonas-lundman

    Thank you for providing that information. Upon checking the schema documentation for the breadcrumb piece, it does mention a condition for paginated states, but it doesn’t seem to describe what is happening here, as the issue is the first page in the paginated series of the post doesn’t have the last list item in the breadcrumb schema.

    We invite you to create a bug report here on GitHub by following the steps in this article (and you can reference this forum thread as well in your report) – https://yoast.com/help/how-to-write-a-good-bug-report/

    Thread Starter Jonas Lundman

    (@jonas-lundman)

    Created a issue at Github, but couldnt you reproduce this?

    Plugin Support Michael Tina

    (@mikes41720)

    Hi,

    We were able to reproduce this using the ‘page break’ block and our developers have commented on the GitHub issue you’ve created here.

    Thanks for creating this bug report. We don’t have a specific ETA as to when this would be addressed, but please do subscribe to the GitHub issue and check the changelog and future updates to the plugin for any bug fixes and enhancements.

    Plugin Support Michael Tina

    (@mikes41720)

    Hi,

    We’re going to be closing this thread to keep the forum overview.

    Please do subscribe to the opened GitHub issue for any updates on this particular concern. Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Breadcrumb in schema missing on paged post first page’ is closed to new replies.