[wp-trac] [WordPress Trac] #64044: Request to change the limit of each sitemap to 1000 urls instead of 2000 urls as current

WordPress Trac noreply at wordpress.org
Thu Sep 25 18:37:36 UTC 2025


#64044: Request to change the limit of each sitemap to 1000 urls instead of 2000
urls as current
-------------------------+-----------------------------------------------
 Reporter:  phanduynam   |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Sitemaps     |     Version:  6.8.2
 Severity:  major        |  Resolution:  invalid
 Keywords:               |     Focuses:  sustainability, coding-standards
-------------------------+-----------------------------------------------

Comment (by psykro):

 @phanduynam, looking at the wp_sitemaps_get_max_urls function
 (https://developer.wordpress.org/reference/functions/wp_sitemaps_get_max_urls/),
 it would appear that you can increase this amount on a per-site basis by
 using the wp_sitemaps_max_urls filter.

 https://developer.wordpress.org/reference/hooks/wp_sitemaps_max_urls/

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64044#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list