• Resolved vdberk

    (@vdberk)


    I have a similar issue as post https://www.ads-software.com/support/topic/google-breaks-breadcrumbs-either-name-or-item-name-should-be-specified/ within the “yoast-schema-graph”.

    Google Search Console’s error: Either “name” or “item.name” should be specified

    I’m using WordPress version: 5.5.1, Yoast SEO version: 14.9

    Missing a ListItem name {“@type”:”WebPage”,”@id”:”www.url.com”,”url”:”www.url.com”,”name”:””}}
    It’s empty so no space in between

    Name is empty in this case, this page where I’m missing the item.name is from the custom post type archive page.

    All other url’s in the breadcrumbs list are correct.

    Please let me know what further information I should provide.
    Thanks in advanced!

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

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

    (@maybellyne)

    Hello @vdberk,

    Thanks for reaching out!

    We can also confirm the error from the Google Structured Data Testing Tool. The Yoast SEO plugin takes the name from the page name. In this case, it could be that the name is missing from your frontpage. Can you please check the page you’re using as your front page and make sure you added a title to this page? If not, does adding the title resolve the issue?

    Thread Starter vdberk

    (@vdberk)

    Hello @maybellyne,

    Thanks for your response, i also checked the structered data testing tool before i dropped the question here. The parrent page is not a regular page but a custom post type archive page.
    So not a regular page with a title.
    All other item.name are filled in correct only the parrent page of the single machine page is missing.

    Can you check this for me please.

    Hi @vdberk,

    Thank you for your reply and for your extra info.

    Hmm, odd. Is this ‘ocassion’ CPT a custom made one or from a plugin you are using? If the first, can you share the code excerpt of the CPT creation so we can see if we can replicate the issue in a local environment?

    Thanks!

    Thread Starter vdberk

    (@vdberk)

    Dear @jeroenrotty,

    Down below the code you asked for:

    $labels = array(
    ‘name’ => _x( ‘Machines’, ‘post type general name’ ),
    ‘singular_name’ => _x( ‘Machine’, ‘post type singular name’ ),
    ‘add_new’ => _x( ‘Voeg nieuwe toe’, ‘book’ ),
    ‘add_new_item’ => __( ‘Voeg nieuwe machine toe’ ),
    ‘edit_item’ => __( ‘Wijzig machine’ ),
    ‘new_item’ => __( ‘Nieuwe machine’ ),
    ‘all_items’ => __( ‘Alle machines’ ),
    ‘view_item’ => __( ‘Bekijk machine’ ),
    ‘search_items’ => __( ‘Zoek machine’ ),
    ‘not_found’ => __( ‘Geen machines gevonden’ ),
    ‘not_found_in_trash’ => __( ‘Geen machines in de prullenbak’ ),
    ‘parent_item_colon’ => ”,
    ‘menu_name’ => ‘Machines’
    );
    $args = array(
    ‘labels’ => $labels,
    ‘taxonomies’ => array(),
    ‘description’ => ‘Alle machines.’,
    ‘public’ => true,
    ‘menu_position’ => 5,
    ‘menu_icon’ => ”,
    ‘supports’ => array( ‘title’, ‘editor’,’thumbnail’ ),
    ‘has_archive’ => true,
    );
    register_post_type( ‘machine’, $args )

    Best Regards Ramon

    Hi @vdberk,

    Thank you for your reply and your patience while we tested this out.

    We tested this code (with a few changes to the quotes here and there, see pastebin for the code) and were not able to replicate the missing name on the archive page of the ‘machine’ CPT in our testing site. This lets us believe there might be something going on specific on your site, such as your theme that is conflicting or another active plugin on the site.

    However, it’s hard to troubleshoot this. We encourage you to do a conflict check to see if the archive page does lack the Name in the Breadcrumbs when you use a default theme and with the Yoast SEO plugin as the only active plugin and when the CPT is active. You can find our step by step guide to do this kind of conflict checks here: https://kb.yoast.com/kb/how-to-check-for-plugin-conflicts/

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Archive page missing item.name’ is closed to new replies.