#36747 closed defect (bug) (invalid)
Virtual robots.txt adds detected sitemap http:// not https://
| Reported by: | jeffmcneill | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
This is for the SSL/HTTPS, if a sitemap.xml or sitemap.xml.gz is detected at the root of the website, an entry into the virtual robots.txt is made.
However, even on an https/ssl site (where the sitemap.xml has the SSL protocol listed inside it as the site, as well as the site itself having https:// in both display and url), a plain http:// URL is generated.
Change History (4)
#2
@
10 years ago
- Milestone Awaiting Review
- Resolution → invalid
- Status new → closed
- Version 4.5.1
Thanks for the bug report, @jeffmcneill!
WordPress doesn't add sitemap.xml to the default robots.txt file, so it seems like this is being caused by a plugin. I'd recommend you try disabling your plugins one by one, until you discover which one is adding this line, then contacting the plugin author.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Note that the work-around is to move the sitemap to a subdirectory, and then this automated behavior of adding the sitemap is disabled.