Next.js · Middle · Question 60 of 75

How do you split a sitemap of 200,000 product URLs?

Explanation

Search engines limit a sitemap to 50,000 URLs. Each id produces a separate URL like /product/sitemap/0.xml; in Next.js 16 the id argument is a Promise.

Further reading

Problem with a question

Next.js · Middle · question 60

Test yourself

Take the Next.js · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz