-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
gatsby-plugin-sitemap default output does not comply with spec and Google #34811
Comments
Hi @don-esteban, Thanks for reporting this issue. We'll probably change the defaults here in an upcoming major release. For now, I believe passing your desired option should work well for you. |
I've just seen this as well, makes absolute sense to change the default. I also had to set the option to |
I would like to suggest an intermediate solution. Updating the docs with a highlighted advice. We had for some weeks a broken sitemap (not really broken, but useless) until SEO-people noticed us. |
So, I was struggling getting a new project indexed. But now I really have a feeling this /sitemap/ folder is causing the hurt. I just changed it to root and submitted it. Just stumbled upon this issue by chance; checking out the issues list. If I didn't end up here by chance I would have never known my sitemaps where broken/useless. This is pretty nasty. We should really consider alerting users using /sitemap/ if it is really hurting the indexing. |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Hey again! It’s been 60 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Thanks again for being part of the Gatsby community! 💪💜 |
I really think this should be reopened. The current defaults make the sitemap useless, with users trusting everything being alright after installing the plugin. |
Preliminary Checks
Description
gatsby-plugin-sitemap
defaultoutput
option generates sitemaps in the folder/sitemap
. The spec says about sitemap location:Google says:
Reproduction Link
https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sitemap#options
Steps to Reproduce
Use the plugins default configuration.
Expected Result
The path should be
/
Actual Result
The path is
/sitemap
Environment
Config Flags
No response
The text was updated successfully, but these errors were encountered: