[wp-trac] [WordPress Trac] #61931: sitemap.xml redirect no longer works when using custom permalinks

WordPress Trac noreply at wordpress.org
Mon Oct 14 08:47:51 UTC 2024


#61931: sitemap.xml redirect no longer works when using custom permalinks
-------------------------------------------------+-------------------------
 Reporter:  gmariani405                          |       Owner:  swissspidy
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.7
Component:  Sitemaps                             |     Version:  5.5
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch commit has-screenshots     |     Focuses:
  has-testing-info has-unit-tests                |
-------------------------------------------------+-------------------------
Changes (by swissspidy):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59228" 59228]:
 {{{
 #!CommitTicketReference repository="" revision="59228"
 Sitemaps: Improve `sitemap.xml` redirects when using custom permalinks.

 Changes the way redirects from `sitemap.xml` to `wp-sitemap.xml` happen,
 so that they also work when using a more complex custom rewrite structure.

 Props gmariani405, swissspidy, euthelup, peterwilsoncc.
 Fixes #61931.
 }}}

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


More information about the wp-trac mailing list