Masters,
We translated our site to english and im little bit confused about sitemap.xml. Till now, we have a sitemap like this:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>http://mysite.hu</loc>
<lastmod>2012-12-12</lastmod>
<changefreq>monthly</changefreq>
<priority>0.7</priority>
</url>
<url>
<loc>http://mysite.hu/cegbemutato.php</loc>
<lastmod>2012-12-12</lastmod>
<changefreq>monthly</changefreq>
<priority>0.6</priority>
</url>
<url>
<loc>http://mysite.hu/termekeink.php</loc>
<lastmod>2012-12-12</lastmod>
<changefreq>monthly</changefreq>
<priority>0.6</priority>
</url>
</urlset>
The translated files under "EN" folder. http://mysite.hu/en/
I found two methode on google, and i don't know which one i should use, and how to do it.
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=2620865
Second is the Sitemap index file
This is how it should look like? So have to take all my url twice?
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>http://mysite.hu/</loc>
<xhtml:link
rel="alternate"
hreflang="en"
href="http://mysite.hu/en/"
/>
<xhtml:link
rel="alternate"
hreflang="hu"
href="http://mysite.hu/"
/>
<url>
<loc>http://mysite.hu/en/</loc>
<xhtml:link
rel="alternate"
hreflang="hu"
href="http://mysite.hu/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="http://mysite.hu/en/"
/>
</url>
<url>
<loc>http://mysite.hu/cegbemutato.php</loc>
<xhtml:link
rel="alternate"
hreflang="en"
href="http://mysite.hu/en/about-us.php"
/>
<xhtml:link
rel="alternate"
hreflang="hu"
href="http://mysite.hu/cegbemutato.php"
/>
<url>
<loc>http://mysite.hu/en/about-us.php</loc>
<xhtml:link
rel="alternate"
hreflang="hu"
href="http://mysite.hu/cegbemutato.php"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="http://mysite.hu/en/about-us.php"
/>
</url>
</urlset>
Or use the sitemap_index.xml methode and simple make an alternative sitemap to EN content? Thank you for any suggestion.