[wp-trac] [WordPress Trac] #50910: 5.5 Sitemap URLs are incorrectly paginated
WordPress Trac
noreply at wordpress.org
Thu Aug 31 06:22:07 UTC 2023
#50910: 5.5 Sitemap URLs are incorrectly paginated
---------------------------------------------+----------------------------
Reporter: jonathanstegall | Owner: peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5.1
Component: Sitemaps | Version: 5.5
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+----------------------------
Comment (by Youtubeviewsbuy):
Replying to [ticket:50910 jonathanstegall]:
> 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#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list