• In the google console its saying I have errors, then in the structured data testing tool, I am seeing:
    url —- is not a known valid target type for the https://rdf.data-vocabulary.org/#url property.
    The code highlighted is (with domain changed) the <a of the following code:
    <span
    typeof=”v:Breadcrumb”><a
    rel=”v:url” property=”v:title” title=”Go to Privacy Policy.” href=”https://www.websitedomain.co.uk/privacy/&#8221; class=”post post-page current-item”>Privacy Policy</span>
    The rdf.data-vocabulary.org link is no longer available, and it says that schema.org should be used.
    How do we fix this please.
    Thanks, LenW

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Havlik

    (@mtekk)

    It sounds like you need to migrate away from the old RDFa breadcrumbs to Schema.org’s BreadcrumbList. This will require modification of the code surrounding your call to bcn_display() (likely found in your theme). Additionally, it may require you to change your breadcrumb templates. See https://mtekk.us/archives/guides/how-to-implement-schema-org-breadcrumblist-with-breadcrumb-navxt/ for more information.

    Thread Starter lencw

    (@lencw)

    John, thanks for the advice. I am using the Breadcrumb Navxt widget in a sidebar, so does that do the schema.org wrap? I always try to avoid adding specific code, so I could put the code in a plain text widget instead.
    Can I suggest that given this advice, the navxt widget really needs a schema.org option in the dropdown?

    • This reply was modified 7 years, 1 month ago by lencw. Reason: added suggestion
    Thread Starter lencw

    (@lencw)

    John
    I have now discovered that importing the xml file fixes the issue, it removes the errors in google console. The widget is already adding the schema.org url. I did setup a text widget with the php code, and was the same when I looked.
    Len

    Plugin Author John Havlik

    (@mtekk)

    Thanks for bringing up the widget issue. It appears I’ve mislabeled the “Schema.org BreadcrumbList (RDFa)” option in the Breadcrumb NavXT widget. It was changed in Breadcrumb NavXT 5.3 to support the Schema.org BreadcrumbList (RDFa version) wrapping div. As long as you’re using a recent version of Breadcrumb NavXT (5.3 or newer), I suggest using the widget with “Schema.org BreadcrumbList (RDFa)” set until the label is fixed in the next release.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Google structured data errors’ is closed to new replies.