-
Notifications
You must be signed in to change notification settings - Fork 127
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
The generated site map does not have xml tag #141
Comments
Hi @hiphop101 Please give more details to reproduce your issue. |
Hi Nico, if you notice that the sitemap generated does not have
|
without details about your config and the nuxt mode (spa? generate?) I cannot reproduce... Please at least share your nuxt version, your sitemap module version and your nuxt config. |
Sure. "scripts": { |
I need your sitemap config from your nuxt.config.js file |
here it is:
|
Your config seems good on sitemap part. Maybe the sitemap is not well declare in "modules" part. Maybe you call a wrong URL according other nuxt config (eg. with a base url). Create a github repository to share a use case that reproduce your issue. Without all details to reproduce your issue, I will not help your any more more. Sorry. |
I've also got bitten by this bug today. For what I understand, it only happens when the sitemap is using i18n or when you're injecting a links object for each route. When the xhtml:link tag is generated, the resulting sitemap ends up missing the xml version tag The output becomes this:
when it should have been like this:
After a bit of digging, it seems the bug comes from the sitemap.js library itself. If possible, please reopen the issue. |
The generated XML does not have xml tag. Google search console does not recognize it.
is missingThe text was updated successfully, but these errors were encountered: