Official statement
The hreflang attribute and the lang HTML attribute have entirely different roles and specifications. It is not advisable to try to align them or use the same values for both. Each should adhere to its own specification.
20:46
Other statements from this video 6 ▾
- 12:12 Do your JSON files really need to be indexed?
- 15:00 Why Doesn't the Event Data Structure Guarantee Rich Results?
- 17:37 Is it true that the order of tags in an XML sitemap doesn't matter to Google?
- 18:08 Why should you keep old URLs in the sitemap after a 301 redirect?
- 18:08 Could removing obsolete URLs from your sitemaps actually boost your SEO?
- 19:46 Is simplifying hreflang implementation the key to successful international SEO?
Official statement from
(3 years ago)
⚠ A more recent statement exists on this topic
Why does Google trust hreflang more than the HTML lang attribute?
View statement →
TL;DR
Google states that hreflang and lang HTML serve distinct roles. Do not align them. Follow the individual specifications for each attribute.
❓ Frequently Asked Questions
Pourquoi ne pas aligner hreflang et lang ?
Ils servent des objectifs différents, risquant de causer des confusions et erreurs si harmonisés.
Quelle est la priorité d'intégration entre les deux balises ?
hreflang pour le SEO international et lang HTML pour l'indication de langue primaire.
Comment vérifie-t-on la bonne configuration de ces attributs ?
Via des outils SEO et validateurs HTML pour s'assurer de leur précision et respect des spécifications.
🎥 From the same video 6
Other SEO insights extracted from this same Google Search Central video · duration 24 min · published on 09/02/2023
🎥 Watch the full video on YouTube →
💬 Comments (0)
Be the first to comment.