Tag Info

Hot answers tagged

4

You're better off creating a multilingual sitemap, just to avoid any source of confusion. The format you have shown is correct. In fact, you could even drop the hreflang declarations in your page sections and just use the declaration within the sitemap. The Official Webmaster Tools blog explains the advantages of using the multilingual sitemaps ...


1

As Closetnoc mentioned in his comment, GZ is just a compressed version of your text sitemap. So my answer to your question Should I include just the .gz file in the robots.txt or both? There is no point in submitting both sitemap.xml as well as sitemap.xml.gz. Most of the search engine bots can read the compressed content. So if you are submitting ...


1

In your last example, I'm not sure this will create a benefit in your sitemap: <xhtml:link rel="alternate" hreflang="x-default" href="https://www.domain.com/what-we-do" /> This is because I don't think "x-default" is a standard language. And besides, you provided the default URL here: <loc>https://www.domain.com/what-we-do</loc> It ...


1

You have to use a separate sitemap for each subdomain. From the FAQ "Where do I place my Sitemap?": All URLs listed in the Sitemap must reside on the same host as the Sitemap. For instance, if the Sitemap is located at http://www.example.com/sitemap.xml, it can't include URLs from http://subdomain.example.com. If the Sitemap is located at ...


1

Yes but just to add more custimizations like how msny times does it get changed and what is the last update time



Only top voted, non community-wiki answers of a minimum length are eligible