-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Search Console "Reference to non-existent item" #53
Comments
I'm having the same issue. |
I am also having this issue. Is it possible to customize meta knight template and remove this line? |
@jonathanmuth We are experiencing this issue with several of our customers. What do you think about getting rid of this line or putting a custom option for this? I can create a PR if you see fit 👍 'diesdasdigital.meta-knight' => [
'websiteItemscope' => false,
], |
Any Update? |
Here's a full explanation of what's going on for anyone who is interested. A quick fix is at the end.
Don't get too hung up on it being a
That brings us to this bug. You'll probably find a meta tag like this nearby in the source: There's probably a meta tag with the id "schema_description" and the itemprop "description" nearby as well. There's probably not a tag with the id "schema_image" in your source, since the default The correct fix is to only include the You probably do not want to remove the A quick fix is to copy the
With this:
This will only include the schema_image id in the itemref id list if there's actually a schema_image to find. |
Could we get that in a PR? |
@renestalder I don't submit PRs without confirmation from the maintainer that they want the change/fix. It just wastes time if they want to go in a different direction with the code. If you'd like to take the time to do it though, be my guest. |
Fixes Google Search Console "Reference to non-existent item" error when trying to index a website that does not have a meta image set fixes diesdasdigital#53 Co-authored-by: Jayshua Nelson <[email protected]>
Hi there,
my kirby site, in which meta knignt, creates an error in Google Search Console.
<style itemscope itemtype="https://schema.org/WebSite" itemref="schema_name schema_description schema_image"></style>
creates the error "Unparsable structured data/Reference to non-existent item".How can I or meta knight fix this problem? By research, I didn't quite understand it.
Thanks in advance!
The text was updated successfully, but these errors were encountered: