Technical SEO

XML sitemap

An XML sitemap is a machine-readable file that lists canonical URLs a site wants search engines to discover and consider for crawling.

What it means

Each entry uses an absolute URL and may include supported metadata such as a meaningful last modification date. A sitemap supplements internal links; submission is a hint and does not guarantee Crawling, Indexing or ranking.

Why it matters

A clean sitemap gives crawlers a consistent inventory of preferred URLs and makes coverage easier to diagnose in Search Console. Redirects, errors, duplicates and non-indexable URLs inside the file create conflicting signals and noisy reports.

Example

A product sitemap should contain the final 200-status canonical product URLs, exclude checkout and filtered variants, and update `lastmod` only when the page changed materially. After deployment, compare the sitemap entries with canonicals and response codes.

Common mistakes

Do not list redirected, Noindex, error or non-canonical URLs. Avoid fake daily `lastmod` values, relative URLs, oversized files beyond protocol limits and treating sitemap submission as proof that a page is indexed.

How AYSA handles this

Signals reviewed

Sitemap entries, HTTP status, canonical target, robots directives, last modification value

Problem AYSA can identify

AYSA can identify sitemap URLs that redirect, fail, declare noindex or disagree with the rendered canonical.

Recommendation prepared

The preview separates URLs to retain, remove or correct and explains the evidence for each sitemap change.

Approval preview

The user sees affected URLs, current status and the proposed sitemap action before approving supported updates.

Execution

On supported WordPress configurations, AYSA can apply an approved sitemap correction; other generators require their own configuration change.

Verification

AYSA refetches the sitemap and representative URLs, then checks that the final file matches the approved canonical inventory.

Limits

A valid sitemap improves discovery signals but cannot guarantee crawling frequency, indexation or rankings.

Sources and further reading

Written by Marius Dosinescu. Reviewed by AYSA SEO Editorial Team · 2026-07-28 00:00:00.

Quick answers

Frequently asked questions

Does an XML sitemap guarantee indexing?

No. It helps discovery and communicates preferred URLs, but each page still has to be accessible, canonical, indexable and useful enough for a search engine to select.

SEO execution campaign

Less SEO work. More organic growth.

AYSA monitors your website, finds opportunities, prepares the work, asks for approval and executes accepted changes so you can grow without living in SEO tools.

AYSA SEO Magazine

Latest search intelligence.

View all articles