-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Ability to disable auto image discovery #24
Comments
Hey @gacek1123, thanks for the issue. I can add support to disable them, as a workaround you should be able to use the hooks. Would you mind providing any more details on the GSC issue? If there is a problem that may affect other users there may be a bug fix needed as well |
@harlan-zw Google is showing 2 different errors:
So it seems that it's actually just a bug |
Any fixes for this or tutorial to remove images with hooks? Unable to get the sitemap submitted. |
Thank you for clarifying and apologies for the delay. I've pushed up a fix in 2.3.0 that should have images validate correctly. If you'd still prefer to have the images disabled I've also added the option: export default defineNuxtConfig({
sitemap: {
// avoids images being added to sitemap
discoverImages: false
}
}) Let me know if you have any feedback on it |
Thanks @harlan-zw it works now 🎉 |
Clear and concise description of the problem
Google Search Console is reporting issues with the
<image:image>
tags in my sitemap. I don't really need them anyways, so I would like the ability to disable them.Suggested solution
Add a new config option to allow users to disable this feature.
Alternative
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: