{"id":285,"date":"2018-02-21T14:06:07","date_gmt":"2018-02-21T14:06:07","guid":{"rendered":"http:\/\/www.suvaance.com\/microblog\/?p=285"},"modified":"2019-03-18T12:27:59","modified_gmt":"2019-03-18T12:27:59","slug":"what-google-does-when-xmllang-differs-from-hreflang","status":"publish","type":"post","link":"https:\/\/www.suvaance.com\/microblog\/what-google-does-when-xmllang-differs-from-hreflang\/","title":{"rendered":"What Google Does When xml:lang Differs from Hreflang"},"content":{"rendered":"<p>We use language tags, <strong>hreflang<\/strong> and <strong>xml:lang<\/strong> to inform search engines about our content language present in <strong>HTML<\/strong> and <strong>XML<\/strong> respectively.<\/p>\n<p>But, does the question \u201c<em>Can we use these two language tags differently?<\/em>\u201c ever strike in your mind? If yes, then you might have the notion that this would affect the SEO negatively.<\/p>\n<p>Actually, you don\u2019t have to worry about this as <em><strong>Google just ignores it<\/strong><\/em> \u2013 <strong>John Mueller<\/strong> Said.<\/p>\n<p>In a recent thread on Twitter, John Mueller said that, when xml:lang declaration is contrary to hreflang, they ignore this.<\/p>\n<p><a href=\"http:\/\/www.suvaance.com\/microblog\/wp-content\/uploads\/2018\/02\/John-Mu-on-xml-href-lang.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-287\" src=\"http:\/\/www.suvaance.com\/microblog\/wp-content\/uploads\/2018\/02\/John-Mu-on-xml-href-lang.png\" alt=\"John Mu on xml &amp; href lang\" width=\"605\" height=\"315\" srcset=\"https:\/\/www.suvaance.com\/microblog\/wp-content\/uploads\/2018\/02\/John-Mu-on-xml-href-lang.png 605w, https:\/\/www.suvaance.com\/microblog\/wp-content\/uploads\/2018\/02\/John-Mu-on-xml-href-lang-300x156.png 300w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><\/a><\/p>\n<p><script type=\"application\/ld+json\"><br \/>\n  {<br \/>\n    \"@context\": \"http:\/\/schema.org\",<br \/>\n    \"@type\": \"BlogPosting\",<br \/>\n    \"mainEntityOfPage\":{<br \/>\n      \"@type\":\"WebPage\",<br \/>\n      \"@id\":\"http:\/\/www.suvaance.com\/microblog\/what-google-does-when-xmllang-differs-from-hreflang\/\"<br \/>\n    },<br \/>\n    \"headline\": \"What Google Does When xml:lang Differs from Hreflang\",<br \/>\n    \"image\": {<br \/>\n      \"@type\": \"ImageObject\",<br \/>\n      \"url\": \"http:\/\/www.suvaance.com\/microblog\/wp-content\/uploads\/2018\/02\/Googles-Take-on-Different-XML-Lang-Href-Lang.png\",<br \/>\n      \"height\": 400,<br \/>\n      \"width\": 835<br \/>\n    },<br \/>\n    \"datePublished\": \"2018-02-21\",<br \/>\n    \"dateModified\": \"2018-02-21\",<br \/>\n    \"author\": {<br \/>\n      \"@type\": \"Person\",<br \/>\n      \"name\": \"Durga Prasad Kundu\"<br \/>\n    },<br \/>\n     \"publisher\": {<br \/>\n      \"@type\": \"Organization\",<br \/>\n      \"name\": \"Suvaance\",<br \/>\n      \"logo\": {<br \/>\n        \"@type\": \"ImageObject\",<br \/>\n        \"url\": \"http:\/\/www.suvaance.com\/wp-content\/themes\/Suvaance%20Res\/Images\/logo.png\",<br \/>\n        \"width\": 250,<br \/>\n        \"height\": 57<br \/>\n      }<br \/>\n    },<br \/>\n    \"description\": \"When your xml:lang declaration is contrary to Hreflang, don\u2019t worry about that. Google simply ignores it as confirmed by John Mueller.\"<br \/>\n  }<br \/>\n  <\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 \u201cCan we use these two language tags differently?\u201c ever strike in your mind? If yes, then you might have the notion that this would affect the SEO negatively. Actually, you [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":288,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[66,68,70,69,67],"class_list":["post-285","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical-seo","tag-hreflang","tag-html-content","tag-language-tags","tag-xml-content","tag-xmllang"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What Google Does When xml:lang Differs from Hreflang<\/title>\n<meta name=\"description\" content=\"When your xml:lang declaration is contrary to Hreflang, don\u2019t worry about that. Google simply ignores it as confirmed by John Mueller.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.suvaance.com\/microblog\/what-google-does-when-xmllang-differs-from-hreflang\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Google Does When xml:lang Differs from Hreflang\" \/>\n<meta property=\"og:description\" content=\"When your xml:lang declaration is contrary to Hreflang, don\u2019t worry about that. Google simply ignores it as confirmed by John Mueller.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.suvaance.com\/microblog\/what-google-does-when-xmllang-differs-from-hreflang\/\" \/>\n<meta property=\"og:site_name\" content=\"The Fastest Way To Know About SEO News &amp; Google Updates - Microblog - SUVAANCE\" \/>\n<meta property=\"article:published_time\" content=\"2018-02-21T14:06:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-03-18T12:27:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.suvaance.com\/microblog\/wp-content\/uploads\/2018\/02\/Googles-Take-on-Different-XML-Lang-Href-Lang.png\" \/>\n\t<meta property=\"og:image:width\" content=\"835\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Durga Prasad Kundu\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Durga Prasad Kundu\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Google Does When xml:lang Differs from Hreflang","description":"When your xml:lang declaration is contrary to Hreflang, don\u2019t worry about that. Google simply ignores it as confirmed by John Mueller.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.suvaance.com\/microblog\/what-google-does-when-xmllang-differs-from-hreflang\/","og_locale":"en_US","og_type":"article","og_title":"What Google Does When xml:lang Differs from Hreflang","og_description":"When your xml:lang declaration is contrary to Hreflang, don\u2019t worry about that. Google simply ignores it as confirmed by John Mueller.","og_url":"https:\/\/www.suvaance.com\/microblog\/what-google-does-when-xmllang-differs-from-hreflang\/","og_site_name":"The Fastest Way To Know About SEO News &amp; Google Updates - Microblog - SUVAANCE","article_published_time":"2018-02-21T14:06:07+00:00","article_modified_time":"2019-03-18T12:27:59+00:00","og_image":[{"width":835,"height":400,"url":"https:\/\/www.suvaance.com\/microblog\/wp-content\/uploads\/2018\/02\/Googles-Take-on-Different-XML-Lang-Href-Lang.png","type":"image\/png"}],"author":"Durga Prasad Kundu","twitter_misc":{"Written by":"Durga Prasad Kundu"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.suvaance.com\/microblog\/what-google-does-when-xmllang-differs-from-hreflang\/","url":"https:\/\/www.suvaance.com\/microblog\/what-google-does-when-xmllang-differs-from-hreflang\/","name":"What Google Does When xml:lang Differs from Hreflang","isPartOf":{"@id":"https:\/\/www.suvaance.com\/microblog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.suvaance.com\/microblog\/what-google-does-when-xmllang-differs-from-hreflang\/#primaryimage"},"image":{"@id":"https:\/\/www.suvaance.com\/microblog\/what-google-does-when-xmllang-differs-from-hreflang\/#primaryimage"},"thumbnailUrl":"https:\/\/www.suvaance.com\/microblog\/wp-content\/uploads\/2018\/02\/Googles-Take-on-Different-XML-Lang-Href-Lang.png","datePublished":"2018-02-21T14:06:07+00:00","dateModified":"2019-03-18T12:27:59+00:00","author":{"@id":"https:\/\/www.suvaance.com\/microblog\/#\/schema\/person\/3ebb275bd806e1b9ae3eff0d697e676a"},"description":"When your xml:lang declaration is contrary to Hreflang, don\u2019t worry about that. Google simply ignores it as confirmed by John Mueller.","breadcrumb":{"@id":"https:\/\/www.suvaance.com\/microblog\/what-google-does-when-xmllang-differs-from-hreflang\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.suvaance.com\/microblog\/what-google-does-when-xmllang-differs-from-hreflang\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.suvaance.com\/microblog\/what-google-does-when-xmllang-differs-from-hreflang\/#primaryimage","url":"https:\/\/www.suvaance.com\/microblog\/wp-content\/uploads\/2018\/02\/Googles-Take-on-Different-XML-Lang-Href-Lang.png","contentUrl":"https:\/\/www.suvaance.com\/microblog\/wp-content\/uploads\/2018\/02\/Googles-Take-on-Different-XML-Lang-Href-Lang.png","width":835,"height":400,"caption":"Google's Take on Different XML Lang & Href Lang"},{"@type":"BreadcrumbList","@id":"https:\/\/www.suvaance.com\/microblog\/what-google-does-when-xmllang-differs-from-hreflang\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.suvaance.com\/microblog\/"},{"@type":"ListItem","position":2,"name":"What Google Does When xml:lang Differs from Hreflang"}]},{"@type":"WebSite","@id":"https:\/\/www.suvaance.com\/microblog\/#website","url":"https:\/\/www.suvaance.com\/microblog\/","name":"The Fastest Way To Know About SEO News &amp; Google Updates - Microblog - SUVAANCE","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.suvaance.com\/microblog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.suvaance.com\/microblog\/#\/schema\/person\/3ebb275bd806e1b9ae3eff0d697e676a","name":"Durga Prasad Kundu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.suvaance.com\/microblog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5a916f7471b44267ef2ed7caeff68cf9472fb1a00b1d81ea7ab8ca644f80d8de?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5a916f7471b44267ef2ed7caeff68cf9472fb1a00b1d81ea7ab8ca644f80d8de?s=96&d=mm&r=g","caption":"Durga Prasad Kundu"},"description":"He is the leading web developer at SUVAANCE Internet Marketing Services Pvt. Ltd. Being a fanatical coder &amp; developer; he keeps surprising others with unique insights in designing issues and sharing humorous jokes in social platforms as well!","url":"https:\/\/www.suvaance.com\/microblog\/author\/durgapr\/"}]}},"_links":{"self":[{"href":"https:\/\/www.suvaance.com\/microblog\/wp-json\/wp\/v2\/posts\/285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.suvaance.com\/microblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.suvaance.com\/microblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.suvaance.com\/microblog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.suvaance.com\/microblog\/wp-json\/wp\/v2\/comments?post=285"}],"version-history":[{"count":4,"href":"https:\/\/www.suvaance.com\/microblog\/wp-json\/wp\/v2\/posts\/285\/revisions"}],"predecessor-version":[{"id":712,"href":"https:\/\/www.suvaance.com\/microblog\/wp-json\/wp\/v2\/posts\/285\/revisions\/712"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.suvaance.com\/microblog\/wp-json\/wp\/v2\/media\/288"}],"wp:attachment":[{"href":"https:\/\/www.suvaance.com\/microblog\/wp-json\/wp\/v2\/media?parent=285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suvaance.com\/microblog\/wp-json\/wp\/v2\/categories?post=285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suvaance.com\/microblog\/wp-json\/wp\/v2\/tags?post=285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}