Question

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

Pas de solution correcte

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top