[wp-trac] [WordPress Trac] #50570: Sitemap: Missing trailing slash in the url of the homepage

WordPress Trac noreply at wordpress.org
Mon Jul 6 14:07:29 UTC 2020


#50570: Sitemap: Missing trailing slash in the url of the homepage
--------------------------+-----------------------------
 Reporter:  Chouby        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Sitemaps      |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The issue occurs when the homepage url includes a path. In this case, a
 trailing slash is added to the homepage canonical url. See
 https://github.com/WordPress/WordPress/blob/5.4.2/wp-
 includes/canonical.php#L195

 It is missing in the sitemap.

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


More information about the wp-trac mailing list