Skip to content
Web and HTTP2 min read

What is an XML sitemap?

Short answer

An XML sitemap is a file that lists the URLs you want search engines to find, along with when each page last changed. It helps Google discover new and deep pages faster, but it doesn't guarantee they'll be indexed.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. What a sitemap looks like
  2. Where to find your sitemap
  3. Common mistakes
  4. On ArabyHost

Instead of waiting for search engines to reach every page through internal links, a sitemap hands them the list directly. That matters most for new sites that nobody links to yet, and for stores with thousands of product pages.

What a sitemap looks like

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2026-11-20</lastmod>
  </url>
  <url>
    <loc>https://example.com/services/</loc>
    <lastmod>2026-10-02</lastmod>
  </url>
</urlset>
  • <loc> is the full URL, using exactly the protocol and hostname your site uses.
  • <lastmod> is the date of the last real change. Google uses it when it’s accurate and ignores <priority> and <changefreq>.

A single file can hold 50,000 URLs or 50 MB uncompressed. Bigger sites use a sitemap index that points to several files, which is what WordPress plugins generate for you.

Where to find your sitemap

Platform Usual URL
WordPress without plugins (since 5.5) /wp-sitemap.xml
Yoast SEO or Rank Math /sitemap_index.xml
Hand-built site A sitemap.xml you create yourself

Common mistakes

  • URLs that don’t belong: noindex pages, 301-redirected URLs or 404s. List only final, working URLs.
  • Mixing http/https or www/non-www: every URL should match the canonical version of the site.
  • Two sitemaps at once: running two SEO plugins produces competing sitemaps.
  • Expecting instant indexing: a sitemap is an invitation to crawl; whether a page gets indexed depends on its quality. See the SEO basics guide.

On ArabyHost

With the one-click WordPress install, wp-sitemap.xml is available automatically unless you tick the “discourage search engines” option under Reading settings, and an SEO plugin can replace it with its own. Add the sitemap URL to your robots.txt with a Sitemap: line, then submit it in Google Search Console as shown in the Search Console setup guide. For a hand-built site, upload sitemap.xml to public_html and make sure it loads over HTTPS with the free SSL certificate that’s issued automatically.

FAQ

Does every site need a sitemap?

A small, well-linked site can do without one, but sitemaps help new sites, large sites and stores that add many pages, because they speed up URL discovery.

What's the difference between an XML and an HTML sitemap?

An XML sitemap is written for search engines and visitors rarely see it. An HTML sitemap is an ordinary page of links that helps people navigate the site.

How often should I submit my sitemap to Google?

Once in Search Console is enough. Google re-reads it periodically, and WordPress SEO plugins update it automatically when you publish.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.