Opened 5 months ago
Last modified 5 months ago
#51324 new defect (bug)
sitemap.xml and sitemap-xml headers return html as content type
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.5 |
Component: | Sitemaps | Keywords: | |
Focuses: | Cc: |
Description
If WordPress is installed at https://www.example.com, then the addresses https://www.example.com/sitemap.xml and https://www.example.com/sitemap-xml send "text/html; charset=UTF-8" as the Content-Type header.
Of course these urls get redirected to wp-sitemap.xml which sends the correct header "application/xml; charset=UTF-8". Just wondering if the page before redirection should also.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hard to see this as an enhancement in Canonical component. I's a bug in the Sitemap component, not?