Keep sitemap URLs on the correct domain

SkillDev tools

sitemap-domain is a skill for AI agents that helps check sitemap coverage and redirect setup after a site moves to HTTPS or changes its domain name. It is meant for sites that have recently migrated from HTTP to HTTPS, changed domain name, or use www and non-www redirect configurations. It also applies when sitemap submission reports low coverage.

Use Keep sitemap URLs on the correct domain in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Keep sitemap URLs on the correct domain and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the Keep sitemap URLs on the correct domain skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Have an AI agent that can load and run skills.

Keep sitemap URLs on the correct domainStart free

What your AI can do with it

  • Check sitemap coverage after an HTTP to HTTPS migration
  • Inspect redirect setup for www and non-www configurations
  • Review sitemap submission coverage when reports show low numbers
  • Help diagnose sitemap issues after a domain name change

Getting started

  1. Have an AI agent that can load and run skills.
  2. Add the sitemap-domain skill to that agent.
  3. Point the agent at the site's sitemap and redirect configuration.
  4. Ask the agent to check sitemap coverage and redirect setup.

What this skill tells your AI

The instructions your AI receives, as published by thedaviddias/front-end-checklist in skills/sitemap-domain/SKILL.md and read by ahel’s review.

Google ignores sitemap entries from domains it cannot verify as yours — cross-domain URLs are simply skipped, meaning those pages lose the crawl-discovery benefit of the sitemap.

Quick Reference

  • Every <loc> URL must use the same domain and protocol (https://www.example.com) as the sitemap file itself
  • Cross-domain URLs in a sitemap are ignored by Google
  • Mixing http:// and https:// URLs in one sitemap creates conflicting signals
  • Mixing www and non-www variants indicates a canonicalization issue to fix first

Check

Parse all <loc> values in the sitemap and extract the protocol and hostname. Flag any URL whose protocol or hostname differs from the sitemap's own URL. Common mismatches: http vs https, www vs non-www, old domain vs new domain.

Fix

Update all <loc> URLs to use the canonical-url protocol and hostname. If the site is on https://www.example.com, every sitemap URL must start with https://www.example.com/. Regenerate and resubmit the sitemap.

Explain

Explain why Google restricts sitemap URLs to the same domain, how cross-domain URLs are silently dropped, and how domain mismatches in a sitemap reveal underlying canonicalization problems.

Code Review

Review metadata generation, rendered HTML, structured data, and response headers related to Keep sitemap URLs on the correct domain. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/en/rules/seo/sitemap-domain

Signals

GitHub stars
74k
Forks
7k
Last commit
Oct 2026

Questions

What does sitemap-domain do?
It lets an AI agent check sitemap coverage and redirect setup for sites that moved to HTTPS, changed domain name, or use www and non-www redirects.
When should I use this skill?
Use it when a site has recently migrated from HTTP to HTTPS, changed domain name, has www or non-www redirect configurations, or when sitemap submission reports low coverage.
Does it fix redirects automatically?
No. The skill checks sitemap coverage and redirect setup. It does not state that it changes or fixes redirects.
Can it help with low sitemap coverage?
Yes. It applies when sitemap submission reports low coverage, so the agent can check coverage as part of the review.
Advanced
Item type
skill
Key
sitemap-domain
Source
github.com/thedaviddias/front-end-checklist