Gatsby sitemap includes error (404) pages
See original GitHub issueSitemap generated by sitemap plugin contains 404 pages.
<url> <loc>https://domain/404/</loc> <changefreq>daily</changefreq> <priority>0.7</priority> </url>
<url> <loc>https://domain/404.html</loc> <changefreq>daily</changefreq> <priority>0.7</priority> </url>
It contains custom page and also default location of 404 page.
Expected behavior:
Sitemap shouldn’t contain error pages.
Details:
"gatsby-plugin-sitemap": "1.2.5",
"gatsby": "1.9.108"
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Gatsby's plugin generated sitemap.xml returning 404 error
I'm using gatsby-plugin-sitemap to generate sitemap.xml for a Gatsby site, but, for some reason that I can't find, it's returning 404 error ......
Read more >gatsby-plugin-sitemap
The following pages are always excluded: /dev-404-page , /404 & /offline-plugin-app-shell-fallback , this cannot be changed even by customizing the filterPages ...
Read more >How to generate sitemap.xml on a Gatsby site? - YouTube
This video describes how to generate sitemap.xml on a Gatsby site and adjust the parameters of the used plugin. It also shows how...
Read more >My sitemap is giving a 404 error, what should I do? - Yoast
First of all, we'd like to inform you that this is usually not due to our plugin, but due to poorly coded themes...
Read more >Sitemap from `gatsby-plugin-advanced-sitemap` excludes `/`
The resulting sitemap-pages.xml does include the / route, but it removes all of the other routes aside from /pricing , which is the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
👊 thanks!
As of
gatsby-plugin-sitemap@1.2.9
there are no 404 pages, closing 😎