SEO

Do I need an XML sitemap?

Yes, and it should be generated rather than hand-written. A sitemap helps engines discover URLs they might otherwise miss and signals when pages genuinely changed. It cannot make a thin page rank, and it will not rescue a page nothing links to.

Answered by Anas Bin Masud 185 words 3 sections

The rules that decide whether it helps

  • Canonical URLs only — listing a URL that canonicalises elsewhere sends contradictory signals
  • Indexable URLs only: no noindex pages, no redirects, no 404s
  • Honest lastmod. If it changes on every deploy it becomes noise and gets ignored
  • Split with a sitemap index above 50,000 URLs
  • Referenced from robots.txt and submitted in both Search Console and Bing

Generate it, never maintain it

A hand-written sitemap is correct on the day it is written and drifts every day after. Generating from routes that actually exist removes missing pages, ghosts of deleted ones and stale timestamps in one step.

changefreq and priority

Google ignores both and has said so for years. They survive in generators because nobody removed them, and a priority column where every page is 0.8 tells you the file was produced by a plugin nobody configured.

The longer version

This answer is deliberately short. If you want the full treatment, XML sitemaps: useful, misunderstood, and no substitute for links covers it in about 2 minutes — free, ungated, written from client work.

Who answered this

Anas Bin Masud builds e-commerce sites and does technical SEO for businesses in the UK, Canada and Pakistan — fifteen live client sites, six of them stores taking real payments. These answers come from those projects rather than from a content brief. More about how I work, or ask me something directly.

People also ask

All 110 answers →

Still have a question this did not answer?

Send the brief and you get a reply within one business day — either questions, or a scoping call. If your project is not something I should take on, I will say so then.

Response
Replies within 1 business day
Hours
Mon–Fri, 09:00–18:00 PKT — overlaps 05:00–14:00 UK, 00:00–09:00 US Eastern
Booking
Booking projects from October 2026
WhatsApp — opens a chat with +92 346 5348466 in a new tab