Mismatched hreflang and HTML lang declarations
-
I have a blog in 2 languages:
Brazilian Portuguese (pt-br)
EnglishI have identified some problems with Mismatched hreflang and HTML lang declarations.
Instead of having the pt-br language in the hreflang, it only has pt.I currently use the Polylang plugin to use multiple languages ??on my blog.
I have tested the Polylang configuration, deactivated and activated the plugin, but the problem continues to occur.
What can I do?
Code snippet where the lang and hreflang are incompatible:
<html lang="pt-BR" prefix="og: https://ogp.me/ns#" data-lt-installed="true"><head><script src="https://pagead2.googlesyndication.com/pagead/managed/js/adsense/m202409230101/">
<link rel="alternate" hreflang="pt">
<link rel="alternate" hreflang="en">My configuration:
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.