Build a valid <link rel="alternate"> cluster with x-default fallback. Built-in validation for the common mistakes.
hreflang tells search engines which version of your page to serve users in different languages or regions. Get it right and you can dramatically expand your addressable market. Get it wrong and Google serves the wrong version, hurting CTR and rankings.
x-default as the fallbacken, en-US, ar-DZ, fr-FRnpm install @mystoq/seo-toolkit import { generateHreflangTags, validateHreflang } from '@mystoq/seo-toolkit';