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

Feature Request: Add support for sitemapindex #66

Closed
laurent-malvert-freelance opened this issue Feb 10, 2022 · 3 comments
Closed

Feature Request: Add support for sitemapindex #66

laurent-malvert-freelance opened this issue Feb 10, 2022 · 3 comments
Labels
enhancement New feature or request In beta This issue can be tested in beta
Milestone

Comments

@laurent-malvert-freelance

Feature request

Summary

Please add support for the sitemapindex.

Why is it needed?

We generally split our sitemaps using a global sitemap index, which loads the site's sub-sitemaps.

This makes it easier to request a re-indexing from search engines, and allows to combine the sitemap of a global site from different sub-site.

Suggested solution(s)

For instance, instead of the existing custom URLs, a separate front-end could generate its own routes-based sitemap, and in Strapi we could request the inclusion of this specific sitemap.

Related issue(s)/PR(s)

N/A

@boazpoolman
Copy link
Member

Hi @laurent-malvert-freelance,

Thank you for the excellent feature request.

To implement this I think the plugin will need a big rewrite.
As of now you can only create one sitemap.
To implement this you have to be able to create multiple sitemaps.
Then those sitemaps should be able to be added to sitemap indexes.

When I have the time I'll make the efforts to build this.

@boazpoolman boazpoolman added the enhancement New feature or request label Feb 11, 2022
@boazpoolman boazpoolman added this to the v2.1.0 milestone Apr 23, 2022
@boazpoolman boazpoolman added the In beta This issue can be tested in beta label May 6, 2022
@timnolte
Copy link

timnolte commented Nov 1, 2022

Seems like this should just be the default when adding URL Bundles, essentially WordPress does this same sort of thing by default for every custom post type. There is nothing wrong with having the system automatically create a sitemap for each bundle with the main sitemap being the index.

@boazpoolman
Copy link
Member

This feature was released with version 3.0.0 of the Sitemap plugin.

A sitemap index will automatically be created for sitemaps that contain more URLs than the limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request In beta This issue can be tested in beta
Projects
None yet
Development

No branches or pull requests

3 participants