Support » Plugin: Yoast SEO » Google Search Console Error

  • Resolved supernaut510

    (@supernaut510)


    We just started getting errors in Google Search Console, starting June 24 (plugin update?) regarding the breadcrumb schema being added by Yoast.

    1) We’re not even using Yoast breadcrumbs, but the schema is being added regardless. Is that normal? We wouldn’t mind, except for the error it’s creating.

    2) We used the scripts at https://github.com/Yoast/wordpress-seo/issues/16711 to remove the breadcrumbs & breadcrumb reference from our pages. This made the Google error go away. Is this the best way to remove the breadcrumb schema?

    3) If we actually want to KEEP the schema because we think it helps SEO, how can we fix it? It seems that the “item” entries are all relative links, although typically they would/should be absolute links. If we can change the “items” to absolute links, that may solve the problem. Is there a way to do this?

    4) For what it’s worth, our WordPress installation is in a subdirectory (partstown.com/about-us). I only mention that in case it is part of the problem, or affects the ultimate solution.

    So #3 appears to be the key to the best solution. Can you help us turn those relative links into absolute links? Or is there a better solution?

    Thank you!

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter supernaut510

    (@supernaut510)

    #2 above should say we removed the breadcrumb SCHEMA using those scripts. So currently you won’t see them in the source code. Here’s what the relevant part looked like:
    https://pasteboard.co/Kdl8q5C.jpg

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    Thanks for reaching out here. We are sorry to hear that you’re having trouble with Yoast SEO. You identified multiple queries that you want us to address and we’ll address them in order:

    • By default, Yoast SEO automatically generates the breadcrumbs scheme markup regardless of whether you’re using Yoast SEO breadcrumbs or not. It can be disabled as well by following the steps given here: https://developer.yoast.com/features/schema/api/#removing-graph-pieces
    • Since you have disabled the Yoast SEO schema entirely on your website, it’s not possible for us to reproduce the issue anymore on our end. So, you’ll need to enable the Yoast SEO customization again so that we can investigate the issue further for you.
    • We could only confirm how you can fix the issue once we are able to reproduce it on our end. So, you’ll need to enable the Yoast SEO-generated schema markup first on your website.

    Note: Yoast SEO v16.8 comes with a breadcrumbs schema fix as well. So, make sure that you’re running the latest version of the Yoast SEO plugin on your website.

    Thread Starter supernaut510

    (@supernaut510)

    Thanks for your help. I have re-enabled the breadcrumb schema, and you can see it in the source of this single blog page:
    https://www.partstown.com/about-us/coronavirus-preparedness-resources-for-restaurants-commercial-kitchens

    Plugin Support Michael Tina

    (@mikes41720)

    Hi @supernaut510

    Upon checking the page source of https://www.partstown.com/about-us/coronavirus-preparedness-resources-for-restaurants-commercial-kitchens and testing it out on Google’s Rich Results Tool, we do see that the output for the breadcrumb list item is showing relative URLs instead of absolute URLs. By default, the output should be absolute URLs.

    Could you check if you have a plugin or custom code that is causing the relative URL output?

    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

    Could you check with a default WP theme and only the Yoast SEO plugin enabled, if the correct breadcrumb schema then outputs?

    Thread Starter supernaut510

    (@supernaut510)

    OK, so the client duplicated the site on a staging server. The results are vexing.

    The duplicated site, with the same theme and same plugins activated, shows one schema “item” as a relative link and one as an absolute link. (On the live/production site, both links are relative.)

    Changing to the default twenty-twenty theme with ONLY the Yoast plugin activated shows the same thing: one relative link and one absolute link.

    Where is Yoast getting these links, or from what information is Yoast generating them?

    As a reminder, we are NOT using Yoast breadcrumbs, but the schema appears in the page’s source code, regardless, and we want to make sure that it appears correctly (with absolute links) so we don’t get errors in Google Search Console.

    Thoughts?

    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.

    Thread Starter supernaut510

    (@supernaut510)

    I literally updated this ticket 23 minutes before your post about closing it… Please keep it open. We’d love to see the response to our previous comment. Thanks.

    Plugin Support Michael Tina

    (@mikes41720)

    Hi,

    By default, the item field in the BreadcrumbList piece should be the unmodified canonical URL of the page – https://developer.yoast.com/features/schema/pieces/breadcrumb/

    We’re not exactly familiar with your setup as to why it’s generating relative URLs, but by default, it should be the absolute URL.

    Can you please try resetting our indexables in the database tables by following the steps below?
    1. Install & activate the Yoast Test Helper plugin
    2. Go to Tools > Yoast Test
    3. Locate the Yoast SEO section and click on the ‘Reset indexables tables & migrations’, ‘Reset Prominent words calculation’, and ‘Reset Internal link counter’ buttons. After each click, the page will reload to confirm that each reset was successful. Note: this won’t actually erase your SEO data, which is also stored in WordPress’ default tables. It’ll just reset our index (custom tables) for that data.
    4. Go to SEO > Tools, and under SEO data, click the “Start SEO data optimization” button to allow Yoast to rescan your content.

    For your site’s health and safety, we recommend creating regular backups of your site and database. This is especially important before installing, updating or removing plugins. Learn more about the benefits of regular backups.

    Could you check if resetting the indexables data and re-running the SEO data optimization results in the absolute URLs outputting instead of the relative URLs?

    Plugin Support Michael Tina

    (@mikes41720)

    Hi,

    This thread has been marked as resolved due to a lack of activity.

    You’re always welcome to re-open this topic. Please read this post before opening a new request.

    Thanks for understanding!

    Thread Starter supernaut510

    (@supernaut510)

    This is a weird one. Your suggestion fixed the issue on our Staging site, but did NOT fix the problem when replicated to our production site. We’re going to re-copy the site and try again. If you can think of any reason it would work in one instance and not another, please let me know… Thanks for your help.

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