For linking to different language versions of the current page, I made these hyperlinks:
<a href="/nl/pageid" lang="nl-nl" hreflang="nl-nl">Nederlands</a>
<a href="/en/pageid" lang="en-gb" hreflang="en-gb">English</a>
- Should either or should both
lang=
andhreflang=
be used? - What are the benefits of
en
overen-gb
in such hyperlinks? - What are the benefits of
en-gb
overen
in such hyperlinks?
2
Answers
I would recommend you to use both lang and hreflang because they will improve your visibility overhaul, as some search engines will target hreflang
https://www.linkedin.com/pulse/html-lang-vs-hreflang-understanding-difference-best-practices-bhor/
And in fact, it’s the same for the en vs en-gb choice. Not so different, but some search engine love them better, so use en-gb. It doesn’t hurt.
Answer 1:
Are different purposes and can be used together to optimize your website for different languages and regions.
Answer 2:
Benefits are Broader Audience Targeting, Simplified Management and Avoiding Duplicate Content Issues
Answer 3:
Using en-gb instead of en in hreflang attributes can offer several benefits, particularly if your content is tailored for a specific regional audience:
3-1: Improved User Experience.
3-2: Better SEO Targeting.
3-3: Reduced Bounce Rates.
3-4: Avoiding Duplicate Content Issues.
3-5: Enhanced Relevance.