Skip to content
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

sitemap no handler #2061

Closed
1 task done
huifer opened this issue Jun 28, 2024 · 7 comments
Closed
1 task done

sitemap no handler #2061

huifer opened this issue Jun 28, 2024 · 7 comments
Labels
needs-reproduction This issue needs more information in order to be investigated

Comments

@huifer
Copy link

huifer commented Jun 28, 2024

What version of starlight are you using?

^0.24.4

What version of astro are you using?

^4.10.2

What package manager are you using?

pnpm

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the Bug

https://zen-huifer.pages.dev/sitemap-index.xml

no sitemap-index.xml

image

Link to Minimal Reproducible Example

https://github.com/huifer/zen-huifer/blob/cf/astro.config.mjs

Participation

  • I am willing to submit a pull request for this issue.
@huifer
Copy link
Author

huifer commented Jun 28, 2024

image

@delucis
Copy link
Member

delucis commented Jun 28, 2024

Hi @huifer! I’m not sure I understand the issue. When loading https://zen-huifer.pages.dev/sitemap-index.xml, I see the sitemap index as expected.

@delucis delucis added needs-reproduction This issue needs more information in order to be investigated labels Jun 28, 2024
@huifer
Copy link
Author

huifer commented Jul 1, 2024

May I ask if this can be included on Google

@delucis
Copy link
Member

delucis commented Jul 1, 2024

It should work, yes! For example, https://docs.astro.build/ is built with Starlight and we successfully submitted the sitemap to Google.

@huifer
Copy link
Author

huifer commented Jul 1, 2024

image
@delucis

@delucis
Copy link
Member

delucis commented Jul 1, 2024

It doesn’t appear to be a Starlight issue as far as I can tell:

  1. The sitemap is generated correctly.
  2. The sitemap is available at https://zen-huifer.pages.dev/sitemap-index.xml as expected.
  3. Google reports that the index was processed successfully.

The error seems to be related to crawling your site. It might be that Cloudflare is blocking the Google bot crawling your site?

Given this is not a Starlight-specific problem, I will close this issue. Feel free to keep chatting here if it’s helpful, but it might also be good to look to see if there’s advice about indexing Cloudflare-hosted sites online.

@delucis delucis closed this as not planned Won't fix, can't repro, duplicate, stale Jul 1, 2024
@huifer
Copy link
Author

huifer commented Jul 2, 2024

@delucis Starlight roboots.txt Can the problem be solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-reproduction This issue needs more information in order to be investigated
Projects
None yet
Development

No branches or pull requests

2 participants