[wp-trac] [WordPress Trac] #50910: 5.5 Sitemap URLs are incorrectly paginated

WordPress Trac noreply at wordpress.org
Tue Aug 11 22:22:16 UTC 2020


#50910: 5.5 Sitemap URLs are incorrectly paginated
-----------------------------+-----------------------------
 Reporter:  jonathanstegall  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Sitemaps         |    Version:  5.5
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 I've created a sitemap with enough posts that it needs to be paginated.
 The sitemap index file - /wp-sitemap.xml - has three post URLs.

 In the index file, they display as:

 - wp-sitemap-posts-post-1.xml
 - wp-sitemap-posts-post-2.xml
 - wp-sitemap-posts-post-3.xml

 When I visit those URLs, they are:

 - wp-sitemap-posts-post-1.xml
 - wp-sitemap-posts-post-2.xml/page/2
 - wp-sitemap-posts-post-3.xml/page/3

 The first URL works correctly, but the last two are 404s.

 This happens with no plugins activated and using the twentytwenty theme.
 My setup does have "Day and name" permalinks enabled. I'm using PHP 7.3.19
 and Nginx 1.19.0 in a local development environment.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50910>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list