Welcome to WebmasterWorld Guest from 3.227.249.234

Forum Moderators: goodroi

Sitemap in different languages

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

New User

joined:Sept 10, 2019
posts:7
votes: 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?
2:12 pm on Sept 16, 2019 (gmt 0)

Administrator from US 

WebmasterWorld Administrator not2easy is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 27, 2006
posts:4509
votes: 348


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...]