seo-hreflang

Validate and generate hreflang implementations for multilingual websites.

2|1|Updated May 17, 2026
One-click install
npx skills add https://github.com/rakibulism/agent-skills-os --skill seo-hreflang-rakibulism
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: seo-hreflang
Source: https://github.com/rakibulism/agent-skills-os/tree/main/skills/seo-hreflang
Command: npx skills add https://github.com/rakibulism/agent-skills-os --skill seo-hreflang-rakibulism

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you validate, generate, and troubleshoot hreflang implementations for multilingual and multi-region websites so search engines can serve the correct localized page to each audience.

Core Features & Use Cases

  • Hreflang validation: Checks self-referencing tags, return tags, x-default, canonical alignment, protocol consistency, and language or region code correctness.
  • Implementation generation: Produces valid hreflang in HTML link tags, HTTP headers, or XML sitemaps for single pages, large sites, and cross-domain setups.
  • International SEO auditing: Reviews content parity, locale formatting, and cultural adaptation issues across language versions to catch technical and localization gaps.
  • Use case: Use this Skill when a site is launching in multiple countries and you need to ensure every localized page is indexed correctly without duplicate or conflicting international signals.

Quick Start

Ask the seo-hreflang skill to audit https://example.com for hreflang errors and return the corrected implementation.

Frequently Asked Questions about seo-hreflang

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix hreflang errors on a multilingual website?

Fix hreflang errors by auditing self-referencing tags, return tags, canonical alignment, protocol consistency, and language or region code correctness across HTML, HTTP headers, or XML sitemaps to ensure correct locale targeting.

What is the best way to generate hreflang tags for international SEO?

Generate valid hreflang tags for international SEO by producing HTML link tags, HTTP headers, or XML sitemap entries that include bidirectional return tags, x-default coverage, and canonical alignment for localized pages.

Why does Google show the wrong language version of my multi-region site in search results?

Google shows the wrong language version when hreflang implementations have missing return tags, incorrect locale targeting, canonical misalignment, or content parity gaps between localized pages.

How do I validate hreflang annotations in an XML sitemap?

Validate hreflang annotations in an XML sitemap by checking language and region code correctness, bidirectional return tags, x-default coverage, and canonical alignment across all listed localized URLs.

Does hreflang require content parity across all localized pages?

Hreflang auditing checks for content parity and locale-specific formatting across language versions to catch technical and localization gaps that prevent search engines from serving the correct localized page.

Can I use hreflang tags for cross-domain international website setups?

Hreflang tags support cross-domain setups by generating valid annotations in HTML link tags, HTTP headers, or XML sitemaps while maintaining canonical alignment and bidirectional return tags across separate domains.