Kern Media

★★★★★5.0Read our Google reviews ›
Talk to us: 303-594-6959 Request Consultation
  • Home
  • About
    • About Dan Kern
    • Reviews
    • Working With Us
    • Reporting
    • Switching Agencies
  • Services
    • LLM Optimization (GEO) & AEO Services
      • AI Visibility Audit
    • AI Overview & Traffic Recovery
    • Audits & Strategies
      • Technical SEO Audit
      • SEO Content Audit
      • Content Strategy
    • Lead Gen SEO & GEO
    • eCommerce SEO & GEO
    • Publisher SEO & GEO
    • CMS Platforms
  • Case Studies
  • AI Search Study
  • Blog
  • Pricing
  • Contact
You are here: Home / SEO & GEO Blog / How to Audit an XML Sitemap to Uncover Lost Traffic & Revenue Opportunities

How to Audit an XML Sitemap to Uncover Lost Traffic & Revenue Opportunities

October 4, 2026 by Dan Kern

Updated October 2026. I first wrote this guide in 2016. The process still works. I’ve updated the tools (Screaming Frog, Google Search Console and GA4 all work differently now) and added what Google says about the lastmod date.

On larger websites, auditing the XML sitemap often uncovers lost traffic and gives search engines a more accurate, trustworthy list of your pages. Fixing sitemap issues can mean thousands of extra visits and a real revenue impact. It’s an easy exercise for anyone comfortable with a crawler and a spreadsheet, and the process below works on almost any site.

XML sitemap audit errors

Why an Accurate XML Sitemap Matters

Years ago, Duane Forrester (then with Bing Webmaster Tools) put it bluntly in a Moz Whiteboard Friday:

…if you start showing me 301s in here, rel=canonicals, 404 errors, all of that, I’m going to start distrusting your sitemap and I’m just not going to bother with it anymore.

Google says something similar about the lastmod date in its sitemap documentation: it uses lastmod only if it’s consistently accurate. If every URL shows today’s date every time the sitemap is generated, Google learns to ignore it.

Your sitemap should only list pages you want indexed: pages that return a 200 status, have a self-referencing canonical and aren’t set to noindex. An audit usually turns up URLs like these that are holding your site back:

  • 3XX redirected URLs (301, 302, etc.)
  • 4XX client errors (404, 410, etc.)
  • 5XX server errors (500, 502, etc.)
  • URLs with a “noindex” meta robots tag or X-Robots-Tag
  • URLs that canonicalize to a different URL
  • URLs blocked by robots.txt

What You’ll Need

  • Screaming Frog (or a similar crawler)
  • Google Sheets or Microsoft Excel
  • Google Search Console and Google Analytics 4

How to Audit an XML Sitemap

Step 1: Check Search Console First

In Google Search Console, go to Indexing > Sitemaps. Check that your sitemap was read successfully and click into it to see how many of its URLs are indexed. Then open the Page Indexing report and filter it to that sitemap. Any reason listed under “Why pages aren’t indexed” (redirects, noindex, duplicates and so on) is a sitemap URL that probably shouldn’t be there.

Step 2: Crawl Your XML Sitemap with Screaming Frog

Switch Screaming Frog to List mode, click “Upload” and choose “Download XML Sitemap” (or “Download XML Sitemap Index” if you have more than one). Paste in your sitemap URL and Screaming Frog will pull in every URL and crawl them.

Before you start, connect the Google Analytics 4 and Search Console APIs under Configuration > API Access. That pulls traffic and click data for each URL into the crawl, which saves you a step later. On very large sites it can slow the crawl down, so skip it if speed matters more.

If you have thousands of URLs, go get a cup of coffee or work on something else while it runs.

Tip: Screaming Frog can also find the opposite problem. Run a normal crawl of your site with your sitemap added (under Configuration > Spider > Crawl), then use Crawl Analysis. It flags indexable pages missing from your sitemap and sitemap URLs your crawl couldn’t find through links (orphaned pages).

Step 3: Export the Crawl Data

Export the Internal (All) report. It has far more columns than you need. Keep these:

  • Address (URL)
  • Status Code
  • Indexability and Indexability Status
  • Meta Robots and X-Robots-Tag
  • Canonical Link Element
  • Redirect URL
  • GA4 sessions and revenue, and Search Console clicks (if you connected the APIs)

I like Google Sheets for this, but Excel handles sitemaps with tens of thousands of URLs better.

Step 4: Label the Issues

Add an “Issue” column and label each problem URL: redirect, 404, noindex, canonicalized, blocked and so on. Here’s a simple example.

XML sitemap audit spreadsheet with issues labeled

Step 5: Add Traffic and Revenue Data

If you didn’t connect the APIs in Step 2, export organic landing page data from GA4 (sessions and revenue or key events) and clicks from the Search Console Performance report. I like to use 12 months of data. Pull them into new tabs and use XLOOKUP or VLOOKUP to match the numbers to each URL.

Sort by traffic so the URLs with the most to lose are at the top. Then look for opportunities like these:

  • Restore pages that should return a 200 status but are redirecting or erroring out
  • Fix canonical tags that point to the wrong URL
  • Fix accidental noindex tags
  • Replace redirected URLs with their final destination
  • Remove URLs that shouldn’t be in the sitemap at all
  • Fix lastmod dates that don’t reflect real content changes
Want a second look at your sitemap and indexation?

On a free 30-minute call, we’ll talk through your site and goals.

Request a Free Consultation ›

Bonus Step: Total the Impact by Issue Type

It helps to see the traffic and revenue tied to each issue type at a glance, whether you’re reporting to a client, upper management or just prioritizing your own fixes. Create a new tab like this:

XML sitemap issues summary table

Here are the Google Sheets formulas, assuming your crawl data is in a tab called “All Sitemap URLs” with the issue labels in column B, sessions in column G and revenue in column H.

Number of URLs

=COUNTIF('All Sitemap URLs'!$B:$B,$A2)

Organic Sessions at Risk

=SUMIF('All Sitemap URLs'!$B:$B,$A2,'All Sitemap URLs'!G:G)

Organic Revenue at Risk

=SUMIF('All Sitemap URLs'!$B:$B,$A2,'All Sitemap URLs'!H:H)

Taking Action on Your Data

Knowing what’s wrong with your sitemap doesn’t change anything until someone fixes it. Most development teams are buried in company-wide priorities, which is where the summary tab helps. It shows the traffic and revenue tied to each issue, so you can make the case for getting it fixed.

SEOs like perfection, but development work gets prioritized by business impact. The more clearly you show the impact on traffic and revenue, the faster your sitemap issues get fixed.

If your sitemap is generated by a plugin like Yoast or by your eCommerce platform, many of these fixes happen at the source: fix the redirect, noindex or canonical on the page, and the sitemap updates itself.

Questions? Contact me, and I’ll be happy to answer them. And if you’d like help, a sitemap review is part of every technical SEO audit I do.

Filed Under: SEO & GEO Blog

About Dan Kern

Dan Kern is a top Colorado SEO expert and Founder + Principal Consultant of Kern Media. He works closely with his clients to ensure their traffic gains meet their revenue goals. He enjoys business owners, entrepreneurs, company staff, and bloggers how to optimize their websites in a natural and compelling manner that both users and search engines value.

Dan Kern | SEO & GEO/AI Search ConsultantI’m Dan Kern, a veteran SEO & GEO consultant. I help established businesses scale revenue through "white hat" SEO, content marketing, and AI optimization. When you hire Kern Media, you work directly with me and my small team of experienced SEO professionals.

  • Proven Expertise: 20+ years in SEO, 500+ websites optimized
  • Search + AI Focus: Strategies built to rank on Google and get recommended by ChatGPT, Claude, and Gemini.
  • Trusted Consultant: Highly reviewed and rated 5.0 stars on Google.

Need Help? Let's talk. I'm for hire.

Qualifications, Tools & Platforms

Kern Media works hands-on in the tools and platforms our clients already use.

Tools
Google Search Console, GA4, Ahrefs, Screaming Frog, Looker Studio, HubSpot and AI prompt tracking
Platforms
WordPress, Shopify, Adobe Commerce, Magento and custom CMS systems

★★★★★ 5-star rating on Google and Clutch

Follow Kern Media

Follow Kern Media on FacebookFollow Kern Media on TwitterFollow Kern Media on LinkedIn

What Clients & Colleagues Say

“Dan Kern has the unique mix of analytical and technical skills blended with creativity that mark a successful SEO these days. His expertise goes beyond “just” SEO in all its facets. Dan is also a solid marketing strategist with direct experience in most online marketing channels. I highly recommend working with him.” – Everett Sizemore

 

“I’ve just finished reviewing your technical SEO audit – it’s awesome. Thank you for taking the time to be thorough, clear and providing your personal commentary on items in the document.” – Ed Caraballo (Seer Interactive)

 

“I had the privilege of working with Dan for five years where he helped transform the way the company thought about and utilized SEO and inbound marketing. Traffic skyrocketed, increasing 7x over the course of six months.” – Winter Thielen

 

“Kern Media has provided only positive results for Costa Rica Explorations & Escapes since beginning our working relationship in 2012. Dan Kern continues to exceed our expectations on a daily basis as he works tirelessly to keep up with industry trends and keep our site optimized. “ – John Rabenau

 

“Not only is Dan admirable at his profession, but he’s also an incredible leader and teacher. He knows how to talk to someone to convey information clearly, and is driven by the goal of getting everyone educated and “on board” for a particular project or strategy.” – Corey Hartford

 

“Dan is by far, the most passionate about SEO and strategic content development of anyone I know. He takes each project on with determination for success and positive results. Dan is innovative, strategic, and results-focused, and there isn’t a responsibility that he doesn’t put his full energy into.” – Jill Simonds

 

“Dan uncovered several problem areas of our site, resulting in us being penalized by Google’s Panda algorithm, and contributing to decreasing organic growth. With his guidance, we were able to fix our SEO-problem areas and have since seen tremendous growth in our organic traffic year over year! He transformed not only this business, but provided a proven model with best practices we continue to employ today.” – Amanda Ferm

 

“In short, Dan is fantastic — a true SEO guru, who is also a pleasure to work with. He is diligent, creative and his excitement for SEO & Online Marketing is both deep and genuine.” – Dan Sargent

Need better visibility in Google + AI?

Work directly with Kern Media founder Dan Kern, an SEO and GEO consultant with 20+ years of experience.

We help established companies grow organic traffic, AI visibility, leads and revenue. Contact us or request a free consultation.

Consulting Services

  • SEO & GEO Services
  • LLM Optimization & GEO
  • AI Visibility Audit
  • eCommerce SEO & GEO
  • Lead Generation SEO & GEO
  • Technical SEO for Google & AI
  • Content Strategy for Google & AI
EXCELLENT
Google star 1Google star 2Google star 3Google star 4Google star 5
Based on 25 reviews
Google
Posted on Google Google
Amanda Ferm profile picture
Amanda Ferm
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
When Kern Media came in, they inherited nearly 30 years of accumulated SEO debt. Dan helped us untangle and clean up years of technical and content issues, build a much stronger SEO foundation, and ultimately allowed us to outrank our competitors for the most valuable keywords in our industry. What I appreciated most was that they didn't treat SEO as a static checklist. Their strategic appoach helped us understand how search was evolving, what changes actually mattered, and where we needed to adapt. As AI began reshaping search and discovery, they were already helping us think beyond traditional SEO and understand what emerging AI-driven search meant for our visibility. Kern Media brought both deep expertise and a practical, strategic approach to the work. They significantly improved our visibility while building a strong organic search foundation that positioned us to stay ahead of the curve as search continues to evolve—from traditional SEO to the rapidly changing world of AI-driven discovery.
Posted on Google Google
Keith Nickoles profile picture
Keith Nickoles
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
I have partnered professionally with Dan and his team at Kern Media for over five years, and their SEO strategies consistently deliver impressive results. I've never seen a system so detail-oriented. It's impressive to witness and be a part of. I strongly recommend their services to any business seeking a reliable, long-term partner for digital growth.
Posted on Google Google
Ashley Mo profile picture
Ashley Mo
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
Dan and the Kern Media team so impressed me with their expertise that he was my first call when I changed jobs and needed to hire an SEO consultant. Our organic traffic continues to grow as we've followed the content and technical recommendations from the team. Dan is great at explaining complicated terms simply and extremely responsive. I highly recommend working with Kern Media.
Posted on Google Google
Benjamin Smith profile picture
Benjamin Smith
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
Within minutes of talking to Dan he was able to help me troubleshoot a good deal why my search rankings were struggling. He has fantastic insight and truly is expert in the ever-changing world of SEO.
Posted on Google Google
Mike W profile picture
Mike W
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
Working with Dan has been a pivotal part of our company. For the past 10 years, we've been selling furniture online and have achieved early success in ranking well on Google. However, our pages were not structured to rank effectively. After our traffic began steadily declining, we decided to engage with Kern Media to improve our ranking and hopefully bring more traffic to the site. Our organic traffic has since more than doubled in less than a year. As the holiday season approached, Dan had the idea to come out with a Black Friday page and created a content brief for us to follow. Within a week, the page was ranking 3rd on Google for "Black Friday cat trees," which helped lead to a record-breaking Black Friday Sale. Kern Media has been quick to respond to questions, always available to talk through issues, and has been a pleasure to work with.
Posted on Google Google
Tim Hampton profile picture
Tim Hampton
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
Dan & Kern Media have been awesome to work with for many years. We've seen incredible growth with our organic results and have grown our keyword footprint immensely. Dan's technical acumen and knowledge of the "SEO" space is impressive. If you ever get the chance to work with Dan and Team, DO IT!!! Thank you for all that you have done and continue to do! We appreciate you, @Dan!
Posted on Google Google
Karen Johnson profile picture
Karen Johnson
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
Dan and his team came in and really changed the game for us. To date our organic results have grown 41%. He helped us clean up our site, add quality content and provided excellent guidance so we could continue to make improvements on our own. I highly recommend!
Posted on Google Google
Karyssa Cox profile picture
Karyssa Cox
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
Kern Media has been an incredible partner in developing my team's overall SEO strategy and implementing new tactics. We've worked with Dan on a number of different complex projects as well as ongoing consultation. Dan is on top of the latest SEO trends and best practices and always has ideas on how to ensure we're making the moves we need to in order to stay ahead. Dan's expertise and attention to detail have been crucial in completing our projects successfully, and he's also been great to collaborate with on how we can use SEO as a tool to achieve our overall goals. We've been very pleased and impressed with the results and are so grateful for the opportunity to work with Kern Media. Thanks, Dan and the Kern team!
Posted on Google Google
Sandra G profile picture
Sandra G
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
Dan and his team at Kern Media are truly SEO experts and our trusted advisors to us. Through their hard work our website, customer.com, is now of the first page of google search results for our area of expertise.

Kern Media
303-594-6959 Request Consultation
Kern Media on Twitter Kern Media on LinkedIn Kern Media RSS feed Kern Media on Facebook
About Services Contact Accessibility Privacy Policy

© 2014–2026 Kern Media®. All rights reserved.