iamvishnusankar / next-sitemap

Sitemap generator for next.js. Generate sitemap(s) and robots.txt for all static/pre-rendered/dynamic/server-side pages.
https://next-sitemap.iamvishnusankar.com
MIT License
3.16k stars 120 forks source link

siteUrl not included indexedSitemap #805

Closed bfzli closed 6 days ago

bfzli commented 2 months ago

When using generateIndexSitemap: false, the indexes don't receive thesiteUrlproperty; instead, they showhttps://example.com. In this case, if you visityoursite.com/sitemap-0.xml, then thesiteUrl` is included, but not in indexing.

Fix: I had to disable indexing for this

github-actions[bot] commented 2 weeks ago

Closing this issue due to inactivity.