Skip to main content
All rules

SEO-016

Sitemap lists URLs on another host or protocol

LowDefault severity · SEO / Quality · SEO, quality and performance

Last reviewed

What it checks

Every URL in the sitemap against the site’s own scheme and hostname.

Why it matters

Search engines ignore sitemap entries that are not on the sitemap’s own host, so those pages get no sitemap benefit.

Recommended fix

List only absolute URLs on the main https host.

How to verify

Open the sitemap and confirm every URL starts with the production https:// origin.

Example fix prompt

Generic prompt (your report adds the evidence)
Please fix this production issue in my app.

Issue SEO-016: Sitemap lists URLs on another host or protocol
Site: https://your-app.example

First confirm the issue in the code or live config. If it is not present, say so and change nothing.
Task: Fix the sitemap generator so every <loc> uses the production https:// hostname shown in the evidence (no http://, no other domains or preview hosts).

Constraints: make the smallest change that fixes this, keep the current design and behaviour, never paste secret values into code or chat, and tell me which files you changed.
Done when: Open the sitemap and confirm every URL starts with the production https:// origin.

References