2

I have website with subdomains, example: example.com, de.example.com, fr.site.com ... language support. Is it correct to use one Sitemap.xml on main domain example.com?

Example sitemap.xml:

http://example.com/index
http://example.com/about
http://de.example.com/index
http://de.example.com/about
http://fr.example.com/index
http://fr.example.com/about

.... or will be correct to use sitemap for each subdomain?

1
  • Specifically see Unor's answer on the duplicate question: webmasters.stackexchange.com/a/82743 All URLs in a sitemap must be on the same subdomain where the sitemap is hosted. You will have to create multiple sitemaps and host the sitemap for each subdomain on that subdomain Mar 19, 2018 at 14:50

1 Answer 1

0

I'll recommend you to create one sitemap per subdomain and use a sitemaps index file. That way you can see the evolution in Google Search Console for each subdomain.

I treat subdomain as images or videos (each in a separate sitemap).

enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.