Hi All,
I am new here. Before posting this question, I have researched here and found similar post - [
webmasterworld.com...]
But, this post is too old and I think Google & SEO have evolved since then.
I have a website (let's say example.com - targeting internationally) and 2 subdomains (uae.example.com - targeting UAE and ru.example.com - targeting Russia). I have 2 languages for example.com and uae.example.com (English and Arabic). English is our default language for both versions, but user can translate that content by choosing language from menu bar as Arabic.
I have recently put href lang tag as follows on all 3 versions (example.com, uae.example.com & ru.example.com) because the content is same except currency change:
<link rel="alternate" href="https://www.example.com/" hreflang="en" />
<link rel="alternate" href="https://uae.example.com/" hreflang="en-ae" />
<link rel="alternate" href="https://ru.example.com/" hreflang="ru-ru" />
can someone please suggest me how google treats my site? Should I add hreflang tag for arabic version too? something like below:
<link rel="alternate" href="https://www.example.com/" hreflang="en" />
<link rel="alternate" href="https://www.example.com/" hreflang="ar" />
<link rel="alternate" href="https://uae.example.com/" hreflang="en-ae" />
<link rel="alternate" href="https://uae.example.com/" hreflang="ar-ae" />
<link rel="alternate" href="https://ru.example.com/" hreflang="ru-ru" />
Will above hreflang code work? Please assist here. It will help me a lot. Thanks
[edited by: engine at 5:51 pm (utc) on Mar 9, 2021]
[edit reason] please use example.com [/edit]