fcesco
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] Hreflang tags not correctThanks veerap!
even if I think I’m not the only person with this need, you could add it to the core code ??Forum: Plugins
In reply to: [Polylang] Hreflang tags not correctThat’s right veerap, I’d also, for example, need to target different lang/countries and one alternative of English.
I.e.: Italy and UK (with UK English rather than general one), that is actually what I need now.
Thanks,
FrancescoForum: Plugins
In reply to: [Polylang] Hreflang tags not correctHi Chouby,
you’re completely right. The hreflang tag can be quite confusing, Google’s John Mueller said that! https://www.seroundtable.com/google-hreflang-complex-seo-25261.htmlHowever, it would be super cool if you’d implement the country code definition, just as an option.
If your target markets are for example Ireland, UK and US, they have the same content but with some different aspects such as:
– Language (American/British English)
– Currency (€, £ and $)
– Shipping costs
– Local price
– etcit would be great to have this option.
As stated in the examples on the official Google page https://support.google.com/webmasters/answer/189077?hl=en (under “HTML Tags”):
https://en.example.com/page.html - Generic English language homepage that contains information about fees for shipping internationally from the USA. https://en-gb.example.com/page.html - UK homepage that displays prices in pounds sterling. https://en-us.example.com/page.html - US homepage that displays prices in US dollars. https://de.example.com/page.html German language homepage. https://www.example.com/ Default page that doesn't target any language or locale; has selectors to let users pick their language and region.
<link rel="alternate" hreflang="en-gb" href="https://en-gb.example.com/page.html" /> <link rel="alternate" hreflang="en-us" href="https://en-us.example.com/page.html" /> <link rel="alternate" hreflang="en" href="https://en.example.com/page.html" /> <link rel="alternate" hreflang="de" href="https://de.example.com/page.html" /> <link rel="alternate" hreflang="x-default" href="https://www.example.com/" />
Thanks,
Francesco