
Decide what the sitemap is meant to cover
A sitemap helps a search engine discover eligible URLs; it does not make weak pages useful or guarantee indexing. Google explains sitemap creation and submission at https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap. Begin with a list of page types on the service website: core services, locations, articles, case studies, tools and client resources. Decide which canonical, public pages deserve discovery. Do not include internal search results, staff dashboards, staging pages or URLs blocked from indexing. A Nigerian firm with many practice and city pages needs a content inventory before it needs a large XML file.
Make the canonical rule explicit
Each sitemap URL should be the preferred public URL that returns a successful response and is allowed to be indexed. Check the host, HTTPS scheme, trailing slash policy and any redirects. If a service page points its canonical tag to another page, its sitemap entry should be reviewed. Do not place the same article under both /blog/ and /resources/ merely to increase the count. Run an export of all generated URLs and compare it with the site's canonical tags. A simple mismatch report can reveal duplicate routes, old slugs and pages unintentionally omitted after a redesign.
Group URLs for operational clarity
Separate sitemaps by page type or stable section where it makes maintenance easier: services, locations, resources and articles. A sitemap index can point to those component files. Google's guidance on large sitemap sets is at https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps. The grouping is for monitoring and generation; it is not a ranking technique. Avoid creating hundreds of tiny files with no clear purpose. A multi-brand organisation should keep each site's sitemap aligned with its own domain and public routes, rather than mixing Law, Properties and Tech URLs in one file.
Use update dates honestly
A last modification value should reflect a meaningful change to the page, such as revised guidance, a new section or an updated service description. Do not set every page's date to today on each deployment merely because the site was rebuilt. Record the content update time in the CMS or publishing pipeline and use it consistently. For a Nigerian service site, an updated law or policy explanation might justify a change; an unrelated header tweak usually does not. Compare the feed with a few article histories to confirm it tells the truth. Trustworthy dates make troubleshooting easier.
Account for dynamic pages and removals
Large sites often create pages from a CMS. Define when a new service page enters the sitemap: published status, valid route, complete required fields and an indexable canonical. Define when it leaves: unpublishing, replacement, removal or a deliberate noindex decision. A sold property listing may require a different policy from a timeless legal guide; write the rule down per content type. Do not leave a deleted URL in an automatically cached sitemap for weeks. Equally, do not drop an article temporarily because a CMS request failed. Monitor generation errors and keep a safe last known good output where possible.
Validate the generated files
Fetch the sitemap index and each child file as a search engine would. Check HTTP status, XML validity, content type, URL count and whether every URL belongs to the intended host. Sample entries and fetch their pages to test response, canonical and indexing directive. Google Search Console can show sitemap processing, but that report should be compared with your own crawl and CMS inventory. A service page that returns 200 but omits its main content is not healthy merely because it appears in XML. Test image and article routes as part of the publication workflow.
Monitor discovery and indexing separately
Submitting a sitemap is a discovery signal, not proof that every page is indexed. Track sitemap fetch errors, discovered URLs, canonical differences and the pages that matter most commercially. Investigate patterns rather than treating every individual excluded URL as a crisis. If a new Lagos conveyancing page does not appear in search results, first confirm that it is linked internally, renders full content, has a self-consistent canonical and is accessible to crawlers. Then compare its purpose with existing service pages. A sitemap cannot repair thin content or two pages competing for the same intent.
Build a repeatable release check
At ChamanTech Solutions, we can audit sitemap generation, canonical rules and publication checks for a large service website through https://chamantech.com/contact. A practical handover includes an inventory, page-type rules, a validation script and a dashboard for errors after deployment. Give the team the list of public routes and CMS status fields so we can test the real site rather than a guessed URL set. Review the sitemap after major content migrations and on a routine cadence. Keep the policy simple enough that editors can explain why a page is included or excluded. Keep a dated export of the URL inventory so later changes can be traced to a release.