what is the alternative plug?n? for , language and with counttry code options
]]>This is a very nice plugin, however it haven’t been updated for a while and it is no longer follow the SEO best practice for hreflang tag
However, fixing it is easy, all you have to do is download the plugin,open languageselectorrelatedclass.php, in line 139, replace “_” with “-” in this line of code $hreflang .= "-".$link['country'];
and add this line $hreflang = strtolower($hreflang);
after it.
Now you will have the correct hreflang tag
]]>How to make this plugin work with Custom post types?
]]>Hello,
Is this plugin no longer supported in any capacity? If so, is there a similar tool you can recommend that offers similar functionality?
Thank you!
]]>Hello
I don’t manage to get any “alternate hreflang” in the meta tags. Is there anything special to be done ?
thanks
]]>Hi Ruben,
I wonder if you could fix an issue in your your plugin.
according to IANA (https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) and https://tools.ietf.org/html/rfc5646 references the language should be written in lowercase and using a hyphen
Example:
<link rel=”alternate” href=”https://google.com/” hreflang=”en-us” /> USA
<link rel=”alternate” href=”https://google.com/” hreflang=”en-gb” /> UK
At the moment is generating
<link rel=”alternate” hreflang=”en_US” href”https://google.com” /> USA
Could you fix it so it pass the w3c validation?
Hope that helps.
Regards
Luis Gellon
]]>Can this plugin write ex-default ?
<link rel="alternate" hreflang="en-ID" href="https://www.lyrics-soundart.com/lyrics-news/voxativ-review-compilation-1/" />
<link rel="alternate" hreflang="ex-default" href="https://www.astrasuite.com/astrablog/voxativ-review-compilation-1/" />
]]>