seo-hreflang

Validate hreflang tags for language and region targeting on multi-language websites.

Updated Jul 12, 2026
One-click install
npx skills add https://github.com/guaderrama/skills --skill seo-hreflang-guaderrama
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: seo-hreflang
Source: https://github.com/guaderrama/skills/tree/main/skills/seo-hreflang
Command: npx skills add https://github.com/guaderrama/skills --skill seo-hreflang-guaderrama

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires html, http, xml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps in detecting common hreflang mistakes, validating language/region codes, and generating correct hreflang tags for multi-language and multi-region websites, ensuring proper international SEO.

Core Features & Use Cases

  • Hreflang Validation: Checks for self-referencing tags, return tags, x-default tags, language code validation, region code validation, canonical URL alignment, protocol consistency, and cross-domain support.
  • Implementation Methods: Supports HTML link tags, HTTP headers, and XML sitemap implementations.
  • Hreflang Generation: Automates the process of detecting languages, mapping page equivalents, validating language codes, generating tags, verifying return tags, setting x-default, and outputting implementation code.
  • Use Case: When a user needs to validate hreflang tags on a website with multiple language versions, or generate hreflang tags for a new international SEO project.

Quick Start

Run the seo-hreflang skill to validate hreflang tags on your website.

Frequently Asked Questions about seo-hreflang

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

FAQPage Schema
How do I validate hreflang tags for a multilingual website?

To validate hreflang tags, check for self-referencing tags, return tags, x-default tags, and canonical URL alignment. This Skill automates validating language and region codes, ensuring accurate international SEO across multi-language websites.

What are the most common hreflang mistakes to check for in international SEO?

Common hreflang mistakes include missing return tags, invalid language or region codes, inconsistent protocols, and canonical URL misalignment. This Skill detects these errors and ensures proper cross-domain support for international SEO implementations.

How do I generate hreflang tags using an XML sitemap?

Generating hreflang tags via XML sitemap involves mapping page equivalents across languages and outputting the correct code. This Skill automates detecting languages, mapping pages, and generating XML sitemap implementations for multi-region websites.

Does this hreflang implementation method support HTTP headers and HTML link tags?

Yes, hreflang implementation supports HTTP headers and HTML link tags. The Skill validates and generates correct hreflang configurations across HTML link tags, HTTP headers, and XML sitemaps, requiring server-side scripting capabilities for execution.

When do I need to use the x-default hreflang attribute?

The x-default hreflang attribute is needed when specifying a default page for unmatched language or region users. This Skill validates the presence and correct configuration of x-default tags alongside your standard language and region targeting.