• Resolved neotrope

    (@neotrope)


    howdy! After many years (7+) of no issues, suddenly Google is saying my breadcrumbs have an error, and not indexing page(s)

    our news system is in subfolder with paths common to wp, like

    siteroot/news/technology/name-of-our-news-item

    Since in subdomain, we get siteroot as the site name (SiteBrand in example) then the breadcrumbs as you might expect

    SiteBrand > News > Technology > Name of Our Cool Story

    SiteBrand is unlinked. Shows up in code as so:

    <span property="itemListElement" typeof="ListItem"><span property="name" class="home">SiteName</span><meta property="url" content="https://sitename.ooooo/"><meta property="position" content="1"></span>

    So, Google is now saying Missing Field “ITEM”

    New one on me. Running latest version of plugin; and reset all format boxes to default.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter neotrope

    (@neotrope)

    Hi … okaaaay. I will likely chalk this up to the typical makes no sense error from Google lately.

    Testing a page today (post), with the schema.org checker, showed zero errors. Need to poke into Google Search Console error a bit further.

    Pardon the drama.

    Thread Starter neotrope

    (@neotrope)

    Hi, John

    okay, it looks like the oddity comes from this code you helped me with, way back end of 2016 (can you beliebe THAT?) – this is to add a front element to the breascrumb trail in front of the normal elements since installed in sub folder

    //BREADCRUMB is Send2Press vs HOME

    add_action(‘bcn_after_fill’, ‘my_static_breadcrumb_adder’);
    function my_static_breadcrumb_adder($breadcrumb_trail)
    {
    $breadcrumb_trail->add(new bcn_breadcrumb(‘Send2Press’, NULL, array(‘home’), ‘https://www.send2press.com/&#8217;));
    }

    • This reply was modified 3 months, 1 week ago by neotrope.
    Thread Starter neotrope

    (@neotrope)

    Hi, pardon this whole confusing thread. Original solution you helped me with was to add a root site name ahead of the breadcrumbs, since inside a subfolder called /wire/. However, today the solution is funky, and should have linked to home page but did not, and looks like I had rogue character in there too.

    Simplest fix today was to just remove the element entirely. Doh.

    SUGGESTION: Still would be nice to have option in plugin to add a main homepage link ahead of content inside a subfolder, where say, a blog is sandboxed from main site features.

    [homepage] > Blog > Topic > Post Title

    (or paid addonplugin…)

    Peace out! 🙂

    Plugin Author John Havlik

    (@mtekk)

    The default template that is used in this setup should be following the Schema.org breadcrumbList in the RDFa format. Based on the output you pasted in an earlier reply, I’m not sure what Google is complaining about (it looks correct, I’m not sure if there is something else on the page that causes Google to go haywire or what). In general the Google tools have been pretty lackluster when evaluating these things (to the point I have more-or-less stopped caring what Google thinks).

    As for an option or extension to add static breadcrumbs, the Menu Magic extension can effectively do this already (with a “custom link” entry in the menu that Breadcrumb NavXT is told to follow). Whether or not that is any better in Google’s eyes, I don’t really see how, given I’m not sure what it’s actually upset about with the generated code.

    • This reply was modified 3 months, 1 week ago by John Havlik.
    Thread Starter neotrope

    (@neotrope)

    Hi, JKohn

    thanks 🙂

    Simply removing the old custom code you provided in 2016 (!) will likely sort it. Basically just removing the sitename unlinked in front of normal breadcrumbs for the news section.

    So:

    SiteName > Newsrom > Category > Name of Post

    will now just be

    Company Newsroom > Category > Name of Post

    🙂

    Thread Starter neotrope

    (@neotrope)

    lol .. well, that worked …

    Breadcrumbs structured data issues successfully fixed for site [site]

    Google has validated your fix of Breadcrumbs structured data issues on site [site] . The specific issue validated was: Missing field “itemListElement” .

    …pages on your site were validated as fixed.

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