Google's Take on Different XML Lang & Href Lang

What Google Does When xml:lang Differs from Hreflang

Posted On : February 21st, 2018   By : Durga Prasad Kundu   To : Technical SEO

We use language tags, hreflang and xml:lang to inform search engines about our content language present in HTML and XML respectively.

But, does the question “Can we use these two language tags differently?“ ever strike in your mind? If yes, then you might have the notion that this would affect the SEO negatively.

Actually, you don’t have to worry about this as Google just ignores itJohn Mueller Said.

In a recent thread on Twitter, John Mueller said that, when xml:lang declaration is contrary to hreflang, they ignore this.

John Mu on xml & href lang

Durga Prasad Kundu

He is the leading web developer at SUVAANCE Internet Marketing Services Pvt. Ltd. Being a fanatical coder & developer; he keeps surprising others with unique insights in designing issues and sharing humorous jokes in social platforms as well!

Google Local Search Results Checker
Google Volatility Report

Video

Menu