No, you cannot use one sitemap.xml for two sites. According to Sitemap Protocol:
Also, all URLs in a Sitemap must be from a single host, such as www.example.com or store.example.com.
سؤال
I have two domains running on the same server with the same IP (same content).
For example : In sitemap.xml there is example1.com is one website and method1.com,method2.com like that many pages will come.So can i use only one sitemap and include 2 websites or make different sitemaps.Give me a solution
Whatever iam working on 2nd url its affecting 1st url also
لا يوجد حل صحيح
نصائح أخرى
No, you cannot use one sitemap.xml for two sites. According to Sitemap Protocol:
Also, all URLs in a Sitemap must be from a single host, such as www.example.com or store.example.com.