[wp-trac] [WordPress Trac] #51912: Sitemap pages 404 with more than one page
WordPress Trac
noreply at wordpress.org
Sat Jun 12 22:48:29 UTC 2021
#51912: Sitemap pages 404 with more than one page
--------------------------+------------------------------
Reporter: loranrendel | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Sitemaps | Version: 5.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by Tkama):
I described the problem and temporary solution here https://wp-
kama.com/handbook/sitemap/bag-404-pagination
The core solution is to move Sitemap init from `template_redirect` hook to
`parse_request` hook, as it's done for REST API.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51912#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list