#50570 closed defect (bug) (fixed)
Sitemap: Missing trailing slash in the url of the homepage
Reported by: | Chouby | Owned by: | swissspidy |
---|---|---|---|
Milestone: | 5.5 | Priority: | normal |
Severity: | minor | Version: | 5.5 |
Component: | Sitemaps | Keywords: | has-patch commit |
Focuses: | Cc: |
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)
#2
@
4 years ago
- Milestone changed from Awaiting Review to 5.5
- Owner set to swissspidy
- Status changed from new to reviewing
This ticket was mentioned in Slack in #core-sitemaps by swissspidy. View the logs.
4 years ago
This ticket was mentioned in Slack in #core-sitemaps by swissspidy. View the logs.
4 years ago
This ticket was mentioned in Slack in #meta by tellyworth. View the logs.
4 years ago
Note: See
TracTickets for help on using
tickets.
Seems like a simple fix - thanks @Chouby!