seo-hreflang

Audit and fix hreflang tags in HTML, HTTP headers, and XML sitemaps.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Hreflang and international SEO audits to ensure correct language and regional targeting across pages, preventing misinterpretation by search engines.

Core Features & Use Cases

  • Validate and fix self-referencing hreflang tags, bidirectional return tags, and x-default entries across HTML, HTTP, and sitemap implementations.
  • Generate correct hreflang annotations for multi-language sites, including language and region codes, protocol consistency, and canonical URL alignment.
  • Use Case: Manage a bilingual/multilingual site to ensure mutual links and consistent canonical URLs, so search engines serve the appropriate version.

Quick Start

Provide your site URL to run a hreflang audit and generate correct tags.

Frequently Asked Questions about seo-hreflang

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

FAQPage Schema
How do I audit hreflang tags for international SEO across HTML and sitemaps?

To audit hreflang tags for international SEO, validate self-referencing annotations, bidirectional return tags, and x-default entries across HTML, HTTP headers, and XML sitemaps to ensure accurate language and region targeting.

When do I need x-default hreflang tags and bidirectional return tags for multi-language sites?

You need x-default hreflang tags and bidirectional return tags for multi-language sites when managing bilingual or multinational pages, ensuring mutual links and canonical URL alignment so search engines serve the correct regional version.

What is the best way to fix hreflang implementation for ccTLDs and subdirectories?

The best way to fix hreflang implementation for ccTLDs and subdirectories is to enforce ISO 639-1 language codes, ISO 3166-1 region codes, and protocol consistency while supporting cross-domain configurations and canonical URL alignment.

Does hreflang validation work with static pages and dynamic URL parameters?

Hreflang validation works with both static and dynamic pages, supporting multi-language and multinational sites using subdirectories, subdomains, or ccTLDs to validate existing setups and generate correct annotations.

Why does my hreflang setup fail canonical URL alignment checks?

Hreflang setups fail canonical URL alignment checks when protocol consistency is broken, region codes are invalid, or bidirectional return tags are missing, preventing search engines from properly interpreting language and regional targeting.