Forum Moderators: goodroi

Message Too Old, No Replies

Sitemap in different languages

         

testalba

2:44 pm on Sep 10, 2019 (gmt 0)



So about sitemaps.For example i have https://www.example.gr/sitemapIndex.xml .Inside of sitemapIndex.xml i have xml files like https://www.example.gr/sitemaps/el-business-search-local-hubs.xml and https://www.example.gr/sitemaps/en-business-search-local-hubs.xml . Is this the perfect way for el and en or better i must create https://www.example.gr/sitemapIndex.xml for el and another https://www.example.gr/sitemapIndex.xml for en?

not2easy

2:12 pm on Sep 16, 2019 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



You can use metatags in the form of
<link rel="alternate" hreflang="lang_code"... >
with the appropriate "lang-code" in place, OR HTTP headers, OR sitemap entries to indicate different language resources. Sitemap entries for this purpose do not require a separate sitemap document, but there are important syntax rules if you choose to use this method. You do not need to use all methods. It is best to choose a method and stick to it so that future changes don't cause confusion.

Google explains the how and why details to help you decide which methods are best for your site here: [support.google.com...]