HTML Lang ISO Code

Posted by jsmoove88 on Pro Webmasters See other posts from Pro Webmasters or by jsmoove88
Published on 2012-09-12T10:34:05Z Indexed on 2012/09/12 15:52 UTC
Read the original article Hit count: 363

Filed under:
|
|

I have a multi-language site for English and Chinese (Hong Kong). My previous setting for Chinese Hong Kong (zh-hk) had: <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="zh-hk" xml:lang="zh-hk">

Shortly, I began to notice browser with other Chinese language sub-codes like zh-tw and zh-cn were seeing my English site in search engines instead of Chinese Hong Kong (zh-hk), which makes sense.

I want to change my html lang to: <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="zh" xml:lang="zh">

Would this cover all Chinese language settings? Also, would Google prefer to show pages that match language subcodes of the browser/country (zh-hk for Hong Kong, zh-cn for Taiwan) than a general language code (zh)?

© Pro Webmasters or respective owner

Related posts about seo

Related posts about serps