URLs from Multiple Domains in XML Sitemaps
It is not allowed to mix URLs from multiple protocols, subdomains and domains in generated XML sitemap files.
The XML sitemaps protocol defines that XML sitemap files can not contain URLs from different domains.
This includes subdomains and other kinds of variations. You have to keep all URLs to a single domain
per XML sitemap. For more information about XML sitemaps, see our
sitemaps explained tutorial.
A1 Sitemap Generator
will automatically prevent that a website scan includes URLs from other domains.
However, if you are using multiple domains interchangeably you can have the software
alias multiple domains during
website crawling and sitemap building.
Some quotes about XML sitemap files from the search engines
official sitemaps protocol website:
-
URLs listed in the Sitemap must use the same protocol (http, in this example) and reside on the same host as the Sitemap.
For instance, if the Sitemap is located at http://www.example.com/sitemap.xml, it can't include URLs from http://subdomain.example.com.
-
Sitemap is located at http://www.example.com:100/sitemap.xml, then each URL listed in the Sitemap must begin with http://www.example.com:100.
-
Sitemap file located at http://example.com/catalog/sitemap.xml can include any URLs starting with http://example.com/catalog/ but can not include URLs starting with http://example.com/images/.
If you for some reason do not want to upload a sitemap into each domain, you can look up
Sitemaps & Cross Submits at the official sitemaps protocol page linked above.