yassinedoghri / astro-i18next

An astro integration of i18next + some utility components to help you translate your astro websites!
https://astro-i18next.yassinedoghri.com
MIT License
473 stars 33 forks source link

HeadHrefLangs component has not hreflang="x-default" tag #158

Open Y-developer opened 1 year ago

Y-developer commented 1 year ago

Is your feature request related to a problem? Please describe.

I noticed that the HeadHrefLangs component in the astro-i18next package does not include the hreflang="x-default" tag. This could potentially cause issues for internationalization of websites, as search engines may not be able to identify the default language.

SEO Minion's Hreflang Checker audit result.

SEO Minion's Hreflang Checker audit result

Why x-default hreflang is important? Introducing "x-default hreflang" for international landing pages - From developers.google.com Missing reciprocal hreflang (no return-tag)" error in Site Audit - From ahrefs.com

Describe the solution you'd like

Add hreflang="x-default" tag for HeadHrefLangs component