Skip to main content

XML Sitemap

Updated: October 29, 2026
By Willya Randika

An XML sitemap is an XML file listing site URLs with optional metadata such as lastmod. It helps search engines discover new or changed pages; it does not directly raise rankings.

What belongs in it

URL typeInclude?Note
Public 200 pageYesCanonical URL, not a duplicate
Articles, categories, wikiYesInclude lastmod when accurate
noindex pageNoConflicting signals
404/redirect URLNoClean the sitemap
Filter/parameter pageUsually noUnless intentionally indexed
Admin/login pageNoNot public content

How it works

A sitemap does not guarantee crawling or indexing. It is only a hint. Search engines still decide based on quality, internal links, and other signals. For large sites, split the sitemap into several files and use a sitemap index.

In WordPress, the sitemap is usually at /sitemap.xml or /wp-sitemap.xml. Make sure the URLs inside are canonical (https and the main domain), not staging URLs.

What to watch for

  • Do not include duplicate URLs. Pick one canonical version per piece of content.
  • Update it after major changes. A lastmod that changes for no reason can reduce trust.
  • Submit it to Search Console and Bing Webmaster Tools. Monitor processing status and errors.
  • Check robots.txt. A blocked or unreferenced sitemap is discovered more slowly.
  • Do not expect instant indexing. For important pages, keep building internal links and content worth indexing.

A good sitemap mirrors the real site structure. If an important page never appears, check whether it is noindex, blocked by robots.txt, or only reachable through JavaScript.

FAQ

Is a sitemap required?

No, but it helps new sites, large sites, and sites with weak internal linking.

How many URLs per sitemap file?

The common limit is 50,000 URLs or 50 MB per file. Beyond that, use a sitemap index.

Can a sitemap speed up indexing?

It can help discovery, but it does not guarantee faster indexing. Page quality and links still decide.

Disclaimer: Hosting Wiki articles are prepared for educational and reference purposes. Hosting technology keeps evolving, so some technical details may change over time.