How to change maximum numbers of URL on Default WordPress Sitemap
WordPress Sitemap
All published url show on sitemap. If you want to change maximum url limit on wordpress default sitemap so follow simple steps –
First Method –
- Open cpanel and open public_html folder.
- then find sitemaps.php file.
- scroll down and change 2000 to your choice.
Second Method –
>> Open active theme’s functions.php file and paste given code.
add_filter('wp_sitemaps_max_urls', function($limit) { return 100; }, 10, 1);
>> Then click on SAVE Button
In this way you can change maximum numbers of sitemap without any plugins.