Skip to content

Marketing skills for Claude Code and AI agents. CRO, copywriting, SEO, analytics, and growth engineering.

fix(seo-audit): scope hreflang findings to affected relationships

Rudy Celekli6b9e9387265d
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index 39ddc4c..68a230d 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -6,7 +6,7 @@
},
"metadata": {
"description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, and growth",
- "version": "2.11.26",
+ "version": "2.11.27",
"repository": "https://github.com/coreyhaines31/marketingskills"
},
"plugins": [
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
index f1a5cf8..aabe26f 100644
--- a/.claude-plugin/plugin.json
+++ b/.claude-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "marketing-skills",
"description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth",
- "version": "2.11.26",
+ "version": "2.11.27",
"author": {
"name": "Corey Haines"
},
diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json
index 45d9d89..9cd1f4c 100644
--- a/.codex-plugin/plugin.json
+++ b/.codex-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "marketing-skills",
"description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth",
- "version": "2.11.26",
+ "version": "2.11.27",
"author": {
"name": "Corey Haines"
},
diff --git a/VERSIONS.md b/VERSIONS.md
index dc6d5ce..60a7eab 100644
--- a/VERSIONS.md
+++ b/VERSIONS.md
@@ -48,7 +48,7 @@ Current versions of all skills. Agents can compare against local versions to che
| revops | 2.2.0 | 2026-10-08 |
| sales-enablement | 2.4.0 | 2026-10-07 |
| schema | 2.0.2 | 2026-10-08 |
-| seo-audit | 2.2.0 | 2026-10-08 |
+| seo-audit | 2.2.1 | 2026-10-10 |
| signup | 2.0.1 | 2026-10-08 |
| site-architecture | 2.1.0 | 2026-10-06 |
| sms | 1.1.0 | 2026-10-02 |
@@ -57,6 +57,10 @@ Current versions of all skills. Agents can compare against local versions to che
## Recent Changes
+### 2.11.27 (2026-10-10)
+
+- Distinguish recommended x-default fallbacks from invalid hreflang relationships.
+
### 2.11.26 (2026-10-08)
- **lead-magnets** (2.0.0 → 2.1.0): new `references/content-to-skill.md` (plus corpus design and release companions) on packaging a course, webinar series, podcast, or newsletter archive you own as an installable agent skill: a new kind of lead magnet. From @rudycelekli's #725 (closes #432), folded in rather than added as a new skill. Triggers added: 'course as a skill,' 'package our content as an agent skill.' **ai-seo** (2.7.5 → 2.7.6) points to it.
diff --git a/skills/seo-audit/SKILL.md b/skills/seo-audit/SKILL.md
index 9139ffe..6e6d401 100644
--- a/skills/seo-audit/SKILL.md
+++ b/skills/seo-audit/SKILL.md
@@ -2,7 +2,7 @@
name: seo-audit
description: When the user wants to audit, review, or diagnose SEO issues on their site. Also use when the user mentions "SEO audit," "technical SEO," "why am I not ranking," "SEO issues," "on-page SEO," "meta tags review," "SEO health check," "my traffic dropped," "lost rankings," "not showing up in Google," "site isn't ranking," "Google update hit me," "page speed," "core web vitals," "crawl errors," "indexing issues," "stuck on page 2," "striking distance keywords," "title tag rewrite," "low CTR," "local SEO," "Google Business Profile," or "map pack." Use this even if the user just says something vague like "my SEO is bad" or "help with SEO" — start with an audit. For building pages at scale to target keywords, see programmatic-seo. For adding structured data, see schema. For AI search optimization, see ai-seo.
metadata:
- version: 2.2.0
+ version: 2.2.1
---
# SEO Audit
@@ -171,11 +171,11 @@ Three equivalent placement methods: HTML `<link>` in `<head>`, HTTP `Link` heade
- Self-referencing entry on every page (page must include itself in the hreflang set)
- Reciprocal links (if A points to B, B must point back to A -- or both are ignored)
- Valid codes: ISO 639-1 language + optional ISO 3166-1 Alpha 2 region (e.g., `en`, `en-GB` -- never `en-UK`)
-- `x-default` present, pointing to fallback page (language selector or default locale)
+- Consider `x-default` for unmatched language/region users, pointing to an appropriate fallback; it is recommended, not required for other valid annotations.
- All target URLs return 200, are indexable, and match their canonical URL
- No duplicate language-region codes pointing to different URLs
-**Common errors:** Missing self-referencing entry (all hreflang ignored). No return tag / one-directional (pair dropped). Invalid codes like `en-UK` (use `en-GB`). Hreflang target is non-canonical, 404, or blocked (cluster discarded). HTML and sitemap annotations disagree (conflicting pair dropped).
+**Common errors:** Missing self-referencing entries. No return tag / one-directional links. Invalid codes like `en-UK` (use `en-GB`). Non-canonical, 404, or blocked targets. Conflicting HTML and sitemap annotations. Report the affected URLs and relationships; do not infer that one broken annotation invalidates every other reciprocal pair. Google can still process valid bidirectional relationships. See [Google's localized-page guidance](https://developers.google.com/search/docs/specialty/international/localized-versions#guidelines-for-all-methods).
**At scale:** `<xhtml:link>` children don't count toward 50K URL sitemap limit, but the 50MB file size limit becomes the bottleneck (plan 2K-5K URLs per file with full hreflang). Focus hreflang on pages receiving wrong-language traffic -- not required on every page. For Bing: supplement with `<html lang>` and `<meta http-equiv="content-language">` (Bing treats hreflang as a weak signal).
@@ -194,7 +194,7 @@ Three equivalent placement methods: HTML `<link>` in `<head>`, HTTP `Link` heade
**Check for:**
- `xmlns:xhtml` namespace on `<urlset>`, each `<url>` includes `<xhtml:link>` for all locales including itself
-- `x-default` alternate included; all URLs absolute (full protocol + domain)
+- If a fallback is needed, include an appropriate `x-default` alternate; all URLs absolute (full protocol + domain)
- Sitemap index in Search Console and robots.txt; split by content type, not by locale
**Next.js caveat:** `alternates.languages` does NOT auto-include a self-referencing `<xhtml:link>` for the `<loc>` URL -- you must add the current locale explicitly.
@@ -398,7 +398,7 @@ Three equivalent placement methods: HTML `<link>` in `<head>`, HTTP `Link` heade
- Canonical conflicting with hreflang (cross-locale canonical suppresses indexing)
- Thin locale pages dragging down site-wide quality signal
- Only boilerplate translated, main content identical across locales
-- No x-default fallback declared
+- Unmatched locale users lack an intentional fallback (consider `x-default`; absence alone is not invalid hreflang)
- Sitemap missing hreflang alternates or missing reciprocal entries
- IP-based redirects hiding content from Googlebot
- Framework locale mode hiding locale from URLs
diff --git a/skills/seo-audit/references/international-seo.md b/skills/seo-audit/references/international-seo.md
index 6ba5f1f..35a7ad2 100644
--- a/skills/seo-audit/references/international-seo.md
+++ b/skills/seo-audit/references/international-seo.md
@@ -27,7 +27,9 @@ Every page must include itself (self-referencing) in the hreflang set. Missing s
### x-default
-Introduced April 2013. Designates the fallback page for users whose language/region matches no declared variant. Can point to the same URL as one of the language-specific alternates. Must be included in the complete set of annotations on every variant page.
+This is a recommended fallback for unmatched language/region users, not a mandatory condition for valid language annotations. Report its absence as a design recommendation when a fallback is useful, rather than declaring the whole hreflang implementation invalid.
+
+Introduced April 2013. Designates the fallback page for users whose language/region matches no declared variant. Can point to the same URL as one of the language-specific alternates. If used, include it consistently in the complete annotation set on each variant page.
- [Google Blog: x-default hreflang](https://developers.google.com/search/blog/2013/04/x-default-hreflang-for-international-pages)
- [Google Blog: How x-default can help you (2023)](https://developers.google.com/search/blog/2023/05/x-default)