URLs from Domains, Subdomains and Protocols in XML Sitemaps

Answers common questions about mixing URLs from multiple subdomains and domains in XML sitemaps.
Help: overview | previous | next

 To see all the options available, you will have to switch off easy mode 

 With options that use a dropdown list, any [+] or [-] button next to adds or removes items in the list itself 

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, our sitemapper does support alias multiple domains during website crawling and sitemap building, but this functionality is only relevant to relatively few websites.

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.
A1 Sitemap GeneratorA1 Sitemap Generator | help | previous | next

Build all kinds of sitemaps including text, visual HTML / CSS, RSS, XML, image, video, news and mobile for all your websites no matter the platform they use.
This help page is maintained by

As one of the lead developers, his hands have touched most of the code in the software from Microsys. If you email any questions, chances are that he will be the one answering.
Share this page with friends   LinkedIn   Twitter   Facebook   Pinterest   YouTube  
 © Copyright 1997-2020 Microsys

 Usage of this website constitutes an accept of our legal, privacy policy and cookies information.