Let say example.com has two different country version apart from main English version
- Israel(example.il)
- New Zealand(example.nz)
What SEO practice should I follow.
Method 1 - HTML lang
example.com
<html lang="en">
example.il
<html lang="he-IL">
example.nz
<html lang="en-NZ">
Method 2 - HTML hreflang link inside head tag example.com
<head>
<link rel="alternate" href="http://example.com/"
hreflang="en" />
<link rel="alternate" href="http://example.il/"
hreflang="he-IL" />
<link rel="alternate" href="http://example.nz/"
hreflang="en-NZ" />
</head>
similarly use the same for other pages(example.il,example.nz).
Google says from 2011 they started treating link with hreflang
for mentioning language specific content.
Now Which method should I use to make the site language and country specific when it comes to search engines?
What is the difference between <html lang>
and <link hreflang>
?