Mobile app version of vmapp.org
Login or Join
Si4351233

: Xhtml alternate hreflang, will it ruin my sitemap for Bing/Yahoo and other SE's? I'm concerned. I recently updated my sitemap generator to create xhtml tags with hreflang in it, to indicate duplicate

@Si4351233

Posted in: #Hreflang #Multilingual #Sitemap #XmlSitemap

I'm concerned. I recently updated my sitemap generator to create xhtml tags with hreflang in it, to indicate duplicate content pages for different languages. Here's an example:

<url>
<loc>http://www.mysite.dk/da</loc>
<changefreq>daily</changefreq>
<priority>0.5</priority>
<xhtml:link rel="alternate" hreflang="da" href="http://www.mysite.dk/da" />
<xhtml:link rel="alternate" hreflang="en" href="http://www.mysite.dk/en" />
</url>


Google loves this, and swallows it whole, but since Bing doesn't recognize the xhtml-tag, will all my alternate references not be excluded by Bing, and therefore not appear in their searches?

Should I really make a separate sitemap with xhtml-tags for Google, and serve it from e.g. mysite.dk/GoogleSitemap.xml, and make another one with URL-elements for all the different language-versions of my pages, and serve it from e.g. mysite.dk/NormalSitemap.xml, and only include the latter in my robots.txt?

Thanks for any input!

Sincerely, Ultroman

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Si4351233

1 Comments

Sorted by latest first Latest Oldest Best

 

@Annie201

For Bing, you should use content-language code in the head of the document.

<meta http-equiv=”content-language” content=”en-us”>


Or the alternative in <html>

<html lang=”en-us”>

blogs.bing.com/webmaster/2011/03/01/how-to-tell-bing-your-websites-country-and-language/
But remember that calls between pages with different languages should be reciprocal.
support.google.com/webmasters/answer/2620865?hl=en
So, in your sitemap you should have also this

<url>
<loc>http://www.mysite.dk/en</loc>
<changefreq>daily</changefreq>
<priority>0.5</priority>
<xhtml:link rel="alternate" hreflang="da" href="http://www.mysite.dk/da" />
<xhtml:link rel="alternate" hreflang="en" href="http://www.mysite.dk/en" />
</url>


Bing would ignore alternate meta, but it won't ignore url reference.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme