Back to Blog
Share:
Technical SEO

XML Sitemap Audit: A Practical Guide to URLs and Lastmod

Arman Grigoryan
•
XML Sitemap Audit: A Practical Guide to URLs and Lastmod

An XML sitemap can help search engines discover important pages, but a file full of redirects, excluded URLs, or misleading dates sends a muddled signal. A sitemap audit checks whether the URLs you submit are the pages you actually want found, whether modification dates reflect meaningful changes, and whether the system keeps working after launch.

Google describes a sitemap as a discovery aid, not a promise of crawling or indexing. Well-linked small sites may not need one, while large, new, or complex sites can benefit. See Google's sitemap overview. The aim is a reliable inventory, not a larger URL count.

1. Find the files and their owner

Locate the sitemap advertised in robots.txt, the files submitted in Search Console, and the CMS or process that generates them. Some sites use a sitemap index pointing to separate files for products, articles, and other content. Record the owner, generation schedule, last successful run, and deployment path. Check that the public files load without authentication and contain well-formed XML.

For large sites, Google's sitemap index guidance explains file organization and limits. An individual sitemap is limited to 50,000 URLs and 50 MB uncompressed; split larger inventories and check that each child file is accessible.

2. Compare the inventory with the intended search experience

Export sitemap URLs and compare them with a crawl and the site's content inventory. Sample each template, language, and commercial priority. For each URL ask: does it return a working page, is it intended to be indexed, and does its canonical point to itself? Prefer the canonical URL you want in search rather than redirecting, error, duplicate, or noindex URLs. Investigate conflicts before changing canonical tags or deleting pages.

A useful sample includes a new article, an updated service page, an active product, an unavailable product, a filtered listing, and each important language version. The correct treatment depends on the page: a temporarily unavailable product may still deserve a useful live page, while a search-results filter may not belong in the sitemap. Do not remove a URL from the sitemap as a substitute for a deliberate removal or indexing strategy.

3. Audit lastmod against real changes

lastmod should describe the last significant change to the page, not the time the sitemap was generated. Google's guidance on lastmod says meaningful updates can include changes to primary content, structured data, or links; a trivial footer change does not require a new date. If the CMS cannot reliably determine a date for a page, omit it rather than inventing one.

Test several records against their actual revision history. Does a substantive product description update change the date? Does an unchanged page acquire today's date on every build? Are values valid W3C dates? A simple date such as 2026-11-20 is an example, not a recommended value for your pages. If date and time are included, use a valid timezone. Assign a developer to fix the source field or publishing trigger, then recheck the output.

A sitemap index's lastmod describes the child sitemap file, not each individual page. Keep these two timestamps separate. Google's systems may use consistently accurate dates for crawl scheduling; a date alone does not guarantee a crawl or a ranking improvement.

4. Submit, diagnose, and monitor

Use the Search Console Sitemaps report or list the sitemap in robots.txt as described in Google's submission guidance. A successful submission means the file was processed, not that every URL is indexed. Check processing errors, then investigate representative pages with URL Inspection and indexing reports. Compare outcomes by template and reason instead of treating the total indexed count as a score.

Fix shared causes first: a broken generator, an incorrect canonical template, or a batch of redirects can affect many URLs. Use ordinary crawlable internal links as well; a sitemap should complement navigation, not replace it. Avoid repeatedly submitting an unchanged sitemap to force faster indexing.

A practical release checklist

  1. Inventory submitted sitemap indexes and child files; confirm owners and access.
  2. Check XML validity, file limits, and representative URLs from every template and locale.
  3. Reconcile redirects, errors, noindex directives, and canonical conflicts with the intended page inventory.
  4. Compare a sample of lastmod values with actual significant changes; omit unreliable dates.
  5. Inspect Search Console processing and a sample of indexing outcomes after deployment.
  6. Monitor generator failures and repeat the sample after template or CMS changes.

For help connecting the sitemap to crawlability, content and internal linking, explore Boost iT's SEO services or contact the team to discuss a technical SEO audit.

XML SitemapTechnical SEOLastmodCrawlabilitySearch Console

Subscribe

Get the latest insights and updates delivered to your inbox.

Want to implement these strategies?

Let's discuss how we can help you achieve similar results.

Frequently Asked Questions

Get answers to common questions about working with Boost iT.

What industries do you specialize in?

We specialize in iGaming, real estate, SaaS, and e-commerce. Our team has deep expertise in high-regulation industries and performance-driven campaigns across these sectors.

What makes Boost iT different from other agencies?

We combine paid advertising, social media, SEO and web development in one team.

How long does it take to see results?

Timing depends on your starting point, budget and service. Paid campaigns can be measured after launch; SEO needs ongoing work. We define goals and reporting with you before starting.

What's included in the free marketing audit?

Our free audit includes a comprehensive review of your current marketing efforts, a strategy call with our senior team, an action plan, and a growth roadmap tailored to your business.

Do you work with small businesses?

Review our service packages and pricing calculator, or contact us to discuss a scope that fits your business and budget.

What platforms do you advertise on?

We specialize in Meta Ads (Facebook/Instagram), Google Ads (Search, Display, YouTube), and provide comprehensive SEO services. We focus on platforms that drive measurable ROI.