#50570 closed defect (bug) (fixed)
Sitemap: Missing trailing slash in the url of the homepage
| Reported by: | Chouby | Owned by: | swissspidy |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.5 |
| Component: | Sitemaps | Version: | 5.5 |
| Severity: | minor | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
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.
Attachments (1)
Change History (9)
This ticket was mentioned in Slack in #core-sitemaps by swissspidy. View the logs.
6 years ago
This ticket was mentioned in Slack in #core-sitemaps by swissspidy. View the logs.
6 years ago
This ticket was mentioned in Slack in #meta by tellyworth. View the logs.
6 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Seems like a simple fix - thanks @Chouby!