For a multilingual site In my sitemap I am using:
<url>
<loc>http://www.xxxx/en</loc>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="http://www.xxxx/en" />
<xhtml:link rel="alternate" hreflang="it" href="http://www.xxxx/it" />
<xhtml:link rel="alternate" hreflang="gr" href="http://www.xxxx/gr" />
</url>
<url>
<loc>http://www.xxxx/it</loc>
<changefreq>daily</changefreq>
<xhtml:link rel="alternate" hreflang="en" href="http://www.xxxx/en" />
<xhtml:link rel="alternate" hreflang="it" href="http://www.xxxx/it" />
<xhtml:link rel="alternate" hreflang="gr" href="http://www.xxxx/gr" />
</url>
Also in the <head> of the page I am using the <link> tag :
Two questions:
Do I need to just keep it in one place or it is better to have it in both (I know that Google will support in under sitemap but what about the other search engines?)
Do I need to do this for every page that has an alternative version e.g:
<url> <loc>http://www.xxxx/it/test.php</loc> <changefreq>daily</changefreq> <xhtml:link rel="alternate" hreflang="en" href="http://www.xxxx/en/test.php" /> <xhtml:link rel="alternate" hreflang="it" href="http://www.xxxx/it/test.php" /> <xhtml:link rel="alternate" hreflang="gr" href="http://www.xxxx/gr/test.php" /> </url>or Google will automatically index the rest traversing down from the main page?