Back to all tools
SEO Tools

XML Sitemap Generator

Generate a professional XML sitemap to help search engine spiders discover and index your pages correctly. Critical for new websites.

sitemap.xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://yourwebsite.com/</loc>
    <lastmod>2026-07-13</lastmod>
    <changefreq>monthly</changefreq>
  </url>
  <url>
    <loc>https://yourwebsite.com/about</loc>
    <lastmod>2026-07-13</lastmod>
    <changefreq>monthly</changefreq>
  </url>
  <url>
    <loc>https://yourwebsite.com/services</loc>
    <lastmod>2026-07-13</lastmod>
    <changefreq>monthly</changefreq>
  </url>
  <url>
    <loc>https://yourwebsite.com/contact</loc>
    <lastmod>2026-07-13</lastmod>
    <changefreq>monthly</changefreq>
  </url>
</urlset>

Desishub Tip: After generating your sitemap, upload it to your root directory and submit the URL to Google Search Console for faster indexing.

About the Sitemap Generator

An XML sitemap is the map you hand to Google: a machine-readable list of every page you want indexed. Without one, search engines discover your pages only by following links — slow and unreliable, especially for new sites with few backlinks, which describes most Ugandan business websites. With one, every page gets found, and Google Search Console can tell you exactly which pages it has indexed.

This free tool generates a properly formatted XML sitemap from your list of URLs, ready to upload and submit to Google Search Console and Bing Webmaster Tools. It handles priorities and change frequencies correctly so you don't have to learn the XML spec.

How to Generate and Submit a Sitemap

  1. 1Enter your website's page URLs — homepage, services, products, blog posts.
  2. 2Set priority and change frequency, or accept the sensible defaults.
  3. 3Download the generated sitemap.xml and upload it to your website's root directory.
  4. 4Submit the sitemap URL in Google Search Console under Indexing → Sitemaps.

Frequently Asked Questions

Do I really need a sitemap?

If your site has more than a handful of pages, is new, or gets few backlinks — yes. A sitemap is the most direct way to tell Google every page you have. Large sites need them for crawl efficiency; small Ugandan business sites need them because they rarely have enough inbound links for Google to discover everything on its own.

How do I submit a sitemap to Google?

Verify your site in Google Search Console (free), then go to Indexing → Sitemaps, enter your sitemap URL (usually yourdomain.com/sitemap.xml), and submit. Google will report how many URLs it discovered and flag any errors.

What is the lastmod date and does it matter?

It tells Google when a page last changed, helping it prioritise recrawls. It matters — but only if it's honest. Sites that stamp every page with the current date teach Google to ignore their lastmod entirely. Only update it when page content genuinely changes.

Why are my sitemap pages not being indexed?

A sitemap gets pages discovered, not automatically indexed. Google still evaluates each page's quality, uniqueness, and internal linking. Pages with thin content, duplicate titles, or zero internal links often sit in 'Discovered – currently not indexed'. Improving content depth and internal links usually resolves it.

Should the sitemap update automatically?

Ideally, yes. Modern frameworks like Next.js can generate the sitemap from your actual content at build time, so new pages and blog posts appear automatically. Sites Desishub builds include an auto-generated sitemap as standard.

Transform your business
with modern technology

See why Desishub is the technology partner of choice for innovative businesses across East Africa.

150+

Projects

400+

Students Trained

99.9%

Uptime