I am using Yoast SEO. Our SEO tool is showing an error that we can't seem to fix through the configuration options.
A value for the name field is required
Apart from the 'missing' name field, Yoast SEO seems to add a #webpage anchor link at the end of the URL. Here is the json-ld output of one of the pages:
{
"@type": "BreadcrumbList",
"@id": "https://testsite.com/international/#breadcrumb",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"item": {
"@type": "WebPage",
"@id": "https://testsite.com/",
"url": "https://testsite.com/",
"name": "Home"
}
}, {
"@type": "ListItem",
"position": 2,
"item": {
"@id": "https://testsite.com/international/#webpage"
}
}]
}
Is there a way to manually or programmatically add a name to the last ListItem?
And is there a way to remove the #webpage at the end of the URL?
Thanks