Free for 4 days: connect your Google Business Profile and get every Pro feature. No payment needed.
Chamko AI
Websites & tools

XML Sitemap SEO: Build, Submit and Maintain a Sitemap for an Indian Business

Create a clean XML sitemap, submit it in Search Console, avoid common

By Chamko Research Team Updated 7 min read

Quick answer

A local business launches a new website with service pages, branch pages, a blog and downloadable catalogues. The owner assumes Google will discover every URL automatically.

A local business launches a new website with service pages, branch pages, a blog and downloadable catalogues. The owner assumes Google will discover every URL automatically. Google can discover pages through links and other mechanisms, but an XML sitemap gives site owners a structured way to tell search engines which important URLs they want crawled.

A sitemap is not an indexing command. It does not guarantee that Google will crawl every listed URL or include it in search results. Its value is in helping discovery and communicating information about the site's preferred URLs.

1. Decide which URLs belong in the sitemap

A sitemap should contain canonical URLs that the site owner wants search engines to consider. It should not be a dump of every URL the website can generate.

For a service business, likely candidates include the homepage, core service pages, legitimate branch pages, useful articles and important public resources. For an online retailer, include canonical category and product URLs that are available for discovery.

Avoid including:

  • Redirecting URLs.
  • URLs that return 404 or soft-404 responses.
  • Pages blocked from indexing by noindex.
  • Duplicate tracking-parameter versions.
  • Private account pages.
  • Search result pages with no distinct value.
  • URLs that canonicalise to another page.

The sitemap should reflect the site's current public information architecture, not its historical URL inventory.

2. Understand the XML format

A basic sitemap uses the sitemap protocol. Each URL is represented in a url element and the file is wrapped in a urlset.

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.in/</loc>
  </url>
  <url>
    <loc>https://example.in/ac-repair/</loc>
  </url>
  <url>
    <loc>https://example.in/locations/ahmedabad/</loc>
  </url>
</urlset>

The example is intentionally small. A production sitemap must use the site's actual canonical URLs. Do not copy example URLs into a live file. Google supports sitemap extensions for certain content types, but a normal business website does not need every extension.

Google's documentation says a single sitemap is limited to 50,000 URLs or 50 MB uncompressed. Larger sites can use multiple sitemap files and a sitemap index.

3. Use lastmod only when it is truthful

The lastmod value can tell Google when a page was last significantly updated. It should reflect a meaningful content change, not every time a server rebuilds the HTML or a page receives a routine timestamp update.

For example, changing a clinic's consultation fee, adding a genuinely new service explanation or correcting a branch address may be meaningful. Updating a rotating banner timestamp without changing the page's useful content is not a meaningful last modification.

Do not use changefreq or priority expecting Google to obey them as crawl instructions. Google has said it ignores those values. Focus on accurate URLs and meaningful lastmod data.

4. Generate the sitemap from the website's source of truth

For a CMS, use a maintained sitemap function or plugin and verify its output. For a custom website, generate the sitemap from the same content database that controls publication status and canonical URLs.

A robust generation process should:

  1. Select published, public pages.
  2. Exclude noindex and non-canonical pages.
  3. Resolve URLs to the preferred HTTPS hostname.
  4. Remove duplicates.
  5. Include only successful URLs.
  6. Update lastmod only for meaningful changes.
  7. Split files when size or URL limits are reached.
  8. Publish a sitemap index if there are multiple files.

For an Indian multi-location business, branch pages should only be included if they are legitimate locations with useful unique information. Do not generate a sitemap full of doorway pages created only by swapping city names.

5. Submit the sitemap in Search Console

Verify the correct Search Console property. A Domain property and a URL-prefix property may cover different scopes, so make sure the sitemap belongs to the property you are viewing.

In the Sitemaps report, enter the sitemap URL and submit it. Google can also discover a sitemap when it is referenced in the site's robots.txt file. Submission is a discovery signal, not a guarantee of indexing.

After submission, review the report's status, discovered URL count and any errors. If the report shows a fetch problem, check whether the sitemap URL loads publicly and returns a successful response. If the file is malformed, validate the XML and correct the generator.

6. Diagnose common sitemap problems

Couldn't fetch. Check server availability, access controls, redirects, DNS and whether the sitemap URL is correct.

Invalid XML. Confirm the XML declaration, namespace, element nesting and character escaping. An ampersand in a URL must be encoded correctly.

Submitted URL blocked by robots.txt. Check whether the URL should be crawlable. If it is an important public page, correct the blocking rule.

Submitted URL marked noindex. Remove it from the sitemap if it is intentionally excluded, or remove the noindex directive if it should be indexed.

Redirecting URL. Replace it with the final canonical destination.

Unexpectedly low discovered count. Check whether the sitemap generator is excluding page types, whether URLs are in the right property and whether the file is accessible.

Do not treat a sitemap error as proof of a manual penalty. It is usually a technical or configuration issue that should be diagnosed from the specific report.

A sitemap is not a substitute for navigation. Important pages should be reachable through crawlable internal links. For a local business, a service page should be linked from a relevant service section or navigation area. A branch page should be reachable from a locations directory or other useful context.

When a URL changes, update internal links, canonical tags, sitemap entries and redirects as one release. Leaving the old URL in the sitemap while the website links to the new one creates conflicting signals and wastes attention.

8. Common mistakes

Including every URL parameter. Tracking and filter combinations can multiply duplicate entries.

Listing pages that are noindex. The sitemap should not ask Google to consider pages that the site explicitly excludes.

Assuming submission means indexing. Google makes independent crawling and indexing decisions.

Updating lastmod on every deployment. Use a date that reflects a meaningful page change.

Creating a separate sitemap for every tiny page group without a reason. Use a manageable structure that matches the website's scale.

Forgetting the sitemap after a migration. Update it as part of the release checklist.

9. A monthly sitemap review

Once a month, compare the sitemap URLs with the live site. Check for redirects, 404s, noindex pages, canonical mismatches and pages that should be included but are missing. For a growing ecommerce site, automate these checks during deployment.

Track submitted URLs, discovered URLs, indexed URLs and the number of sitemap errors. These counts are diagnostic, not targets to maximise blindly. A site with 80 valuable pages may be healthier than one with 8,000 thin pages.

Frequently asked questions

Does a sitemap guarantee that Google indexes every URL?

No. A sitemap helps Google discover URLs but does not guarantee crawling, indexing or ranking.

How many URLs can one sitemap contain?

Google's sitemap documentation sets a limit of 50,000 URLs or 50 MB uncompressed for a sitemap file. Larger sets can be divided and referenced through a sitemap index.

Should I include noindex pages?

No. A sitemap should contain canonical URLs that the site owner wants considered for crawling and indexing. Remove pages that are intentionally noindexed.

Is lastmod required?

It is optional, but can be useful when it accurately reflects significant page updates. Do not change it without a meaningful content modification.

Can I submit a sitemap through robots.txt?

Yes. Google can discover sitemap locations referenced in robots.txt. You can also submit them through Search Console.

Why does Search Console say “Couldn't fetch”?

Possible causes include an incorrect URL, server error, access restriction, redirect issue or malformed file. Test the sitemap URL directly and inspect server logs.

Should every branch location have its own sitemap?

Not necessarily. A single sitemap or sitemap index can cover the site's canonical URLs. Separate files may be useful for larger sites or operational reporting, but are not mandatory for each branch.

Conclusion: treat the sitemap as a maintained index of preferred URLs

A sitemap is useful when it is accurate, current and aligned with the website's canonical structure. Generate it from published content, submit it through the correct property and review errors as part of routine technical maintenance. Do not mistake a successful submission for an indexing guarantee.

Chamko Marketing helps businesses manage their Google Business Profiles through marketing and optimization features. Sitemap generation and Search Console monitoring remain website-level SEO responsibilities, but both can be scheduled alongside regular marketing operations.

References

Keep reading

Websites & tools

XML Sitemap lastmod: When to Update Dates and How to Keep Them Accurate

Learn when sitemap lastmod should change, how to generate reliable dates, and how to avoid misleading timestamp automation.

Local SEO

Google Search Console for Local Businesses — Setup, Reports That Matter and Fixes (Beginner Guide)

A beginner's guide to Google Search Console for local business websites: setup, sitemaps, the Performance report, indexing problems, and how to use queries to improve pages and your Google profile.

Websites & tools

Build a Local SEO Tracking Sheet That Staff Can Actually Maintain

A practical guide for Indian businesses to build a local SEO tracking spreadsheet in Google Sheets or Excel that staff will actually keep updated, covering the five tabs to create, weekly and monthly metrics from Google Business Profile, review and ranking tracking, a changes log, who updates what, simple formulas and charts, common mistakes, and a ready column layout.

Websites & tools

Build a Marketing UTM Naming Convention That Teams Can Maintain

This guide establishes a consistent way to label campaign links so traffic sources remain interpretable across people, platforms, and reporting periods. It covers…

Business growth

Precision Machining SEO: Help Buyers Submit a Quote-Ready Drawing

Help Buyers Submit a Quote-Ready Drawing. Practical guidance for evaluating scope, preparing an enquiry and comparing providers.

Getting started

Google Business Profile: The Complete Guide for Indian Businesses (2026)

Everything an Indian business needs to set up, verify, optimise and grow a Google Business Profile in 2026, with Google's rules, ranking data and a 30-day plan.