I'm working on an SP2013 upgrade for a client in which they have two zones configured: 'Default' for general public (internet facing) using http:// and anonymous access enabled, and an 'Internet' zone using https:// for secure content (not anonymously enabled).
In order to automate creation of the Sitemap.xml, we enabled the "Search Engine Sitemap" site collection feature. What we are experiencing now is that the Sitemap.xml and robots.txt URL references point to the Internet zones "https" instead of "http" of the default zone. I've tested that changing the internet zone to http or removing it all together fixes this issue and changes the URLs back to http.
Without having to reconfigure the zones for the web application I was curious if anyone knows of a way to alter which zone or URL is referenced by the Search Engine sitemap job? By default it appears to always reference the Internet zone, even with anonymous access disabled.