You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using astrojs/sitemap 1.3.0+ endpoints likes images, rss etc are included in sitemap (#7080). The same URLs are not processed by the filter-feature leaving no option but to stick with 1.2.2 release to avoid sitemap-entries causing 404.
Repro: Run build in sample and compare URLs printed in console with sitemap-0.xml.
It also adds the injected _image route from the @astrojs/image integration, which results in a 404 page.
And it adds the RSS route from the @astrojs/rss integration with a trailing slash, which is a problem for me because I use the @astrojs/vercel adapter with "cleanUrls": true to address this issue and need to have the route end without trailing slash.
Since the filter no longer works, I can't remove these pages and routes with @astrojs/sitemap 1.3.0+.
What version of
astro
are you using?2.4.5
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Linux
What browser are you using?
Edge
Describe the Bug
Using astrojs/sitemap 1.3.0+ endpoints likes images, rss etc are included in sitemap (#7080). The same URLs are not processed by the filter-feature leaving no option but to stick with
1.2.2
release to avoid sitemap-entries causing 404.Repro: Run build in sample and compare URLs printed in console with
sitemap-0.xml
.Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-xfdxg4?file=astro.config.mjs
Participation
The text was updated successfully, but these errors were encountered: