Отдельный файл отчёта для этой задачи не найден или не указан. Показан сохранённый результат задачи.
I wrote the source fix as a patch and the full report in SEO_201.md. All 17 tests pass against a local production build of the patched code. I did not apply the patch to the mirror, commit, or deploy, and I did not contact the public site, DNS, Apache or the CLA preview.
What was wrong in the source (observed on a local build of the unpatched code):
lastmod was the build time./contact-form. The legal pages used a relative /imprint.Link header, and its x-default pointed at a URL that redirects.What the patch does:
lib/seo.ts builds localized URLs from routing.pathnames.lastmod omitted: the repo has no real modification dates, so I left it out rather than invent one. I also dropped the invented changefreq and priority values.alternateLinks: false) so there is one hreflang system, not two that disagree.Tests: 11 source-level tests pass on their own. All 17 pass, including the HTTP ones, against a production build served on localhost:3205.
robots.txt and the redirect behaviour are checked as well.SEO_201_evidence/run-tests.sh reproduces all of it.Limitations:
127.0.0.1 sends every German URL with a localized slug into an endless 307 loop (e.g. /de/impressum). This is a hosting artifact that also affects the unpatched code, not a source bug. HOSTNAME=0.0.0.0 (the Dockerfile default) and localhost both work. I assume production is unaffected, but you should confirm its HOSTNAME setting.127.0.0.1:3103, so its German slug pages are probably broken. That task only checked /de and /de/toolshub24, which have no slug rewrite.Decisions for you:
x-default correct as the English page, or do you want a language-selector page?lastmod stay omitted until there is a real date source?routing.pathnames are dead because fr is not a supported locale./api/ added to the robots.txt disallow list?/de/services → `/de/leistungen[truncated]