[wp-trac] [WordPress Trac] #51117: Sitemap & XSL requests execute main query for home page.

WordPress Trac noreply at wordpress.org
Wed May 5 23:50:52 UTC 2021


#51117: Sitemap & XSL requests execute main query for home page.
---------------------------+------------------------------
 Reporter:  peterwilsoncc  |       Owner:  pbiron
     Type:  defect (bug)   |      Status:  accepted
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Sitemaps       |     Version:  5.5
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  performance
---------------------------+------------------------------

Comment (by pbiron):

 Replying to [comment:3 peterwilsoncc]:
 > @pbiron I've added some notes to #51912 (as reported on a duplicate
 ticket) as this can cause false 404 status codes on valid sitemap pages.

 Thanx for the ping...I had forgotten about this ticket.

 Not sure when I'll have time to look into this more, but I'll do my best
 to at least investigate how the REST API does the short circuit and see
 how easy it will be to at least do it for sitemaps (and leave robots and
 feeds for later).

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


More information about the wp-trac mailing list