question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is your feature request related to a problem? Please describe. I want to add an index sitemap with all the children urls inside as detailed here: https://developers.google.com/search/docs/advanced/sitemaps/large-sitemaps

Describe the solution you’d like I would like a new option like index: true to use the first /sitemap.xml as index.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
iamvishnusankarcommented, Mar 3, 2021

I’d like to see this too if possible? We’re using the dynamic sitemap option so being able to pass in an extra option there to generate an index sitemap would be very useful. Thanks.

@nbunner This is my plan for next version of next-sitemap. Basically creating two APIs for sitemap and index generation. Doing this way will help to use them on server-side and for static generation.

Server side

  • getServerSideSitemap: Generates sitemap XML
  • getServerSideIndexSitemap: Generates index sitemap XML

Static build:

  • next-sitemap: Build sitemaps only
  • next-sitemap --mode=index: Build sitemaps with index sitemap.

I’m little busy with my current projects. I’ll start working on this as soon as possible.

@arnaudjnn, @tofiqquadri Sorry for the late reply.

1reaction
rus-yurchenkocommented, Sep 25, 2021

+1, we’re highly waiting for this to be implemented. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Sitemap Index Files | Google Search Central Blog
Using Sitemap Index Files · You want to store all of your archived URLs in one Sitemap and all of your URLs that...
Read more >
Protocol - sitemaps.org
Using Sitemap index files (to group multiple sitemap files) · Begin with an opening <sitemapindex> tag and end with a closing </sitemapindex> tag ......
Read more >
Sitemap index - Search Console Help - Google Support
A file that contains a list of links to sitemaps for a website. This is used to overcome the size limitation of a...
Read more >
How do sitemap index files work? - Ryte Wiki
Sitemap index files can be viewed as directories that provide information about websites in XML format for search engines. The index files use...
Read more >
XML Sitemap: the ultimate reference guide | ContentKing
What is an XML Sitemap Index? ... Whenever you cross the limitations for a single XML Sitemap you need to split them up...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found