E.g. <link rel="alternate" href="https://es.example.com/" hreflang="es"> See - https://developers.google.com/search/docs/specialty/international/localized-versions - https://github.com/joshbuchea/HEAD There needs to be an API/hook to filter out incomplete versions of secondary languages, so they can also be removed from the XML sitemap.