@sagar772 The reason you are seeing multiple entries for the post-sitemap.xml sitemap is that Yoast SEO limits the number of URLs that can be included in a single sitemap. Yoast SEO defaults to allowing a maximum number of URLs to 1000 per sitemap. If the number of URLs for any given sitemap exceeds that number, it splits the sitemap into multiple sitemaps. This is so that a single sitemap doesn’t require a large amount of resources or time to be generated upon request.
If you wish to modify the default number of entries per sitemap you can by using the wpseo_sitemap_entries_per_page
developer filter. For example, you could use the following code to modify the limit of sitemap entries to 2000:
<?php
/********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/
/* Limit the number of sitemap entries for Yoast SEO
* Credit: Yoast Developers
* Last Tested: Jan 31 2019 using Yoast SEO 9.5 on WordPress 5.0.3
* Yoast SEO defaults to 1000
* Google allows up to 50000 URLs or 50MB (uncompressed)
*/
function max_entries_per_sitemap() {
return 2000;
}
add_filter( 'wpseo_sitemap_entries_per_page', 'max_entries_per_sitemap' );
You can also find additional documentation on this in the following article: https://yoast.com/help/xml-sitemaps-in-the-wordpress-seo-plugin/#limit