x-default was empty on the homepage, and /donate was not listed #178

Merged
paulhitt merged 2 commits from seo/hreflang-and-sitemap into main 2026-09-09 20:45:11 +00:00
paulhitt commented 2026-09-09 20:23:05 +00:00 (Migrated from gitlab.com)

Three findings from an SEO audit of the live site.

The landing route shipped <link rel="alternate" hreflang="x-default" href="">. It set hasAlternate and altHref when the Spanish page exists, but never defaultHref. Every other page had it right; this was introduced with the Spanish routing earlier today, on the highest-authority URL on the domain. Two independent checks found it.

/donate was missing from the sitemap. It returns 200, is linked from every footer in both languages, and is served outside the page table, so the generator never saw it.

Also tried removing <priority>1.0</priority> from the root, since Google ignores it and it was set on one URL out of thirty. PublicPagesTests pins it deliberately, so it stays: the test's intention wins over the tidy-up.

Tests: 697, 0 failures.

Three findings from an SEO audit of the live site. **The landing route shipped `<link rel="alternate" hreflang="x-default" href="">`.** It set `hasAlternate` and `altHref` when the Spanish page exists, but never `defaultHref`. Every other page had it right; this was introduced with the Spanish routing earlier today, on the highest-authority URL on the domain. Two independent checks found it. **`/donate` was missing from the sitemap.** It returns 200, is linked from every footer in both languages, and is served outside the page table, so the generator never saw it. Also tried removing `<priority>1.0</priority>` from the root, since Google ignores it and it was set on one URL out of thirty. `PublicPagesTests` pins it deliberately, so it stays: the test's intention wins over the tidy-up. Tests: 697, 0 failures.
paulhitt commented 2026-09-09 20:45:12 +00:00 (Migrated from gitlab.com)

mentioned in commit 473f09bbd6

mentioned in commit 473f09bbd6527f272a9e04c77578d75f8bc8ce87
paulhitt (Migrated from gitlab.com) merged commit 473f09bbd6 into main 2026-09-09 20:45:12 +00:00
Sign in to join this conversation.