I would like to see multiple dynamic sitemap.xml files being generated. Currently all products, categories, topics etc are put into the one yourstore.com/sitemap.xml location. Although sitemap files can contain up to 50,000 urls, some people have more than 50,000 urls, but in most cases it better to provide more granularity. By creating multiple sitemaps, google webmaster will provide a better breakdown of sitemaps submitted and you can analyse any poor performing urls (duplicate content etc). Also it's much less load on the server to output smaller files.
Example, split products into separate dynamic files with a limit to the number of urls in the file
yourstore.com/sitemap-products1.xml (products 0-1000)
yourstore.com/sitemap-products2.xml (products 1001-2000)
yourstore.com/sitemap-category1.xml (categories 1001-2000)
Has this ever been implemented? We are using nop 37 but we have reached the 50,000 url limit as well. Anybody know how we can implement a sitemap index file within nopcommerce to split the file into multiple index files?
I read the forum messages and did not understand anything, so I checked the updated code and here is the solution.
With the mentioned update #1713 if the sitemap.xml increase the row of 50.000, additional sitemaps are created automatically in the address of ../en/sitemap-1.xml, ../en/sitemap-2.xml, and so on.
Just add the new sitemaps to google search console and the problem will be solved.
I am already aware that you did a good implementation in 2017. Our site, stokarti.com (nopcommerce v4.2) consist of this implementation.
On the other hand, the implementation seems to have a size limit for the number of URL (50.000)
Which result our xml maps to diveded as;
Each sitemap is nearly 20mb, and the error that we have in the google search console is "Your Sitemap contains too many URLs. Please create multiple Sitemaps with up to 50000 URLs each and submit all Sitemaps."
I believe that this issue arise because of the sitemap mb size.
Any help will be appritated.