website icon indicating copy to clipboard operation
website copied to clipboard

Split sitemap.xml

Open pascalberger opened this issue 5 years ago • 3 comments

We introduced a sitemap.xml with #1071.

Current sitemap.xml file contains more than 50'000 entries, which is invalid (see https://www.sitemaps.org/faq.html#faq_sitemap_size). We should split into multiple sitemap.xml files

pascalberger avatar Oct 11 '20 18:10 pascalberger

Looking at this, I am thinking about doing the following grouping:

sitemap-api.xml
Api
RenderApi
ApiIndex
ApiSearchIndex

sitemap-dsl.xml
DslAliases
RenderDsl

sitemap-pages.xml
Pages
RenderPages
Redirects

sitemap-blog.xml
BlogPosts
BlogIndexes
BlogCategories
BlogTags
BlogAuthors
BlogArchives
BlogYearlyArchives
BlogFeed
RenderBlogPosts

sitemap-other.xml
Less
Sass
Resources
ValidateLinks

Where the following pipelines would be excluded:

* Addins
* AddinCategories
* Code
* RenderAddins

@pascalberger thoughts?

gep13 avatar Oct 14 '20 18:10 gep13

Generally I think it makes sense. Does sitemap-other.xml contain anything in this case? I'm not sure if these pipelines produce any sites which we want to have in a sitemap.

One of the open issues is the addin area, where I would like to redesign and extend the pages at some point. But then we can update accordingly.

pascalberger avatar Oct 14 '20 21:10 pascalberger

I haven't tested out this suggestion yet, so I don't know it there are any entries in the files, but I will let you know when I do.

gep13 avatar Oct 15 '20 06:10 gep13