Fixing Sitemap Errors For Better Indexing of Submitted URLs (original) (raw)

How to fix sitemap errors: Common issues & best practices

Svitlana leads the Content Team at SE Ranking. Her content marketing expertise is enhanced by the deep understanding of the SEO processes.

SEO Specialist at SE Ranking. Olena has expertise in market research, website performance improving, investigating and fixing technical SEO issues

So you just created a sitemap and submitted it to Google but your sitemap status doesn’t show Success . Maybe your Sitemap report looks good, but after checking the Page Indexing report, you see that Google ignored your request and won’t index several of the pages from your sitemap. Now you’re wondering if there’s something you can do to improve your indexing stats.

Look no further because you’ll find all the answers in this post.

If you don’t have a sitemap and want to learn how to make one that shines, take our introductory sitemapping crash course. It covers the benefits of having a sitemap and presents several sitemap best practices. You’ll need to consult a guide anyway, especially if you don’t know what and tags are used for, or if you’re still unfamiliar with video sitemaps or sitemap index files.

The first part of this post lists all potential errors you may encounter in your GSC Sitemap report. If you’re working on troubleshooting specific issues, use our table of contents to jump to them.

The second half of this post features tips for making the most of your sitemap. It covers:

Make sure to study the second chapter of this post carefully. The best practices outlined in this post are meant to help you improve your crawling and indexing process and raise your site’s visibility on Google.

All recommendations in this post are current as of November 2025.

New AI Overviews Research by SE Ranking

Download to learn how AIOs changed after rollout and sign up to SE Ranking’s news and SEO tips digests!

You’re all set!

Click the link we sent you in the email to confirm your email

and get AI Overviews Research by SE Ranking

Fixing Sitemaps report errors

After submitting your sitemap to Google, you can see if it successfully processed the file in the Status column. If your file follows all the rules, its status should be Success.

Screenshot of GSC Sitemaps report

In this chapter, we’ll discuss two other status codes, namely Couldn’t fetch and Has errors.

Quick note before we dive in: We recently introduced our new Website Audit 2.0, featuring a new Sitemap section. All sitemap-related checks are now organized in one place, making it easier to spot and fix issues that were previously scattered across different categories (like XML sitemap not found in robots.txt file, 3XX redirects in XML sitemap, non-canonical pages in XML sitemap, noindex pages in XML sitemap, 4XX pages in XML sitemap, and 5XX pages in XML sitemap). We also adjusted the priority levels of critical sitemap issues to better reflect their impact on website performance. Critical issues like XML sitemap is too large and Non-canonical pages in XML sitemap are now marked as Errors. The issue, 3XX redirects in sitemap, has been upgraded from Notices to Warnings. These changes are accurate as of November 2025.

Google has difficulty crawling your sitemap file

Let’s start with the most difficult scenario: Google can’t fetch your sitemap file. When this happens, you need to use the URL Inspection tool to find the source of the problem.

Screenshot of GSC URL Inspection tool

In the URL Inspection tool, click the Live test button and check the Page fetch status. If it says Successful, there must be a bug on Google’s side. Consider contacting Google Support if this happens.

When reaching out to Google’s support team and reporting the issue, provide them with relevant details, including the sitemap’s URL, any error messages encountered, or observations made. Google will provide step-by-step guidance to help you resolve the issue.

If there’s no bug on Google’s end and your sitemap can’t be fetched, make sure nothing is blocking Google from accessing your sitemap. Sometimes robots.txt directives or even CMS plugins are to blame. Also, make sure you’ve entered a proper sitemap URL while paying attention to protocol and www.

These techniques can be applied to both single and sitemap index files. Now, let’s look into ways to address the most common XML sitemap issues.

Sitemap index file errors

Google may occasionally detect XML sitemap errors while fetching your submitted file.

When using a sitemap index file to access your site’s URLs, Google must process all separate sitemaps listed in it. If Google fails to process the URLs listed on the sitemap index file, you may receive an Invalid URL in sitemap index file error. This normally means that incomplete URLs or typos are stopping Google from finding one or more of your sitemaps. Google cannot find your URLs unless all individual sitemaps in your sitemap index file are fully-qualified.

Your sitemap index file also shouldn’t list other sitemap index files, only sitemaps. But if you decide to list them, you’ll get an Incorrect sitemap index format: Nested sitemap indexes error.

The last error we’ll look at is Too many sitemaps in the sitemap index file. This can occur when huge websites list more than 50,000 sitemaps in a single file.

Sitemap size and compression errors

Size restrictions apply both to sitemap index files and individual sitemaps. Sitemap file size shouldn’t exceed 50 MB when uncompressed. The file also shouldn’t list more than 50,000 location URLs (not counting alternative ones). If you fail to adhere to these recommendations, you’ll get a Sitemap file size error. As of November 2025, these limits remain unchanged in Google’s official sitemap protocol.

Read our ultimate sitemap guide to learn how to split sitemaps into several sitemap files.

It’s important to understand how Google counts URLs when including localized versions of pages in your sitemap. According to Google’s John Mueller, Google considers only the positions as individual URLs in a sitemap. This means that even if you have multiple xhtml:link positions for different language versions of a page, they will be counted as one URL in terms of sitemap size limitations.

Another thing you should be aware of is that Google counts duplicate URLs as one in sitemaps. Google may not consider this as a sitemap error, but you should still keep your sitemap clean from duplicates. Duplicates won’t help Google index your website faster, and instead can add clutter and increase the sitemap XML file’s size.

While your sitemap shouldn’t be huge, it also shouldn’t be empty. Submitting an Empty sitemap will result in an error.

Also, earlier on in this article, we mentioned that the sitemap size should be less than 50 MB when uncompressed, but it is a common practice to compress sitemaps to save bandwidth. A commonly used tool for this purpose is gzip, which adds the gz extension to sitemaps. If you get a compression sitemap error in the GSC report, this means something went wrong during the compression process. Your best bet is to try again.

Google cannot crawl your sitemap’s URLs

There are several reasons why Google may not be able to crawl URLs listed on your sitemap. Let’s look at some of the most common ones.

Other sitemaps report errors, such as URLs not accessible, URLs not followed, and URLs not allowed are not that obvious. Let’s briefly go through each of them.

Screenshot of Redirects section in SE Ranking's Website Audit

Screenshot of Security section in SE Ranking's Website Audit

Screenshot of Sitemap section in SE Ranking's Website Audit

Google suspects you’ve listed the wrong URLs

Do not include thin content or soft 404 pages when managing your sitemap as it can negatively impact your website’s SEO. Here’s why:

Syntax-based sitemap errors

You typically won’t have to worry about syntax-based sitemap errors if you generate a sitemap with a special tool that handles tags and attributes properly. On the other hand, you may encounter one of the following issues even if you created your sitemap manually:

News sitemaps xmlns:news=”http://www.google.com/schemas/sitemap-news/0.9″
Video sitemaps xmlns:video=”http://www.google.com/schemas/sitemap-video/1.1″
Image sitemaps xmlns:image:=”http://www.google.com/schemas/sitemap-image/1.1″
hreflang sitemaps xhtml:hreflang:=”http://www.w3.org/1999/xhtml”

Screenshot of Unsupported format error in GSC

There are also several video-sitemap-specific errors: Thumbnail too large/small, Video location and play page location are the same, Video location URL appears to be a play page URL. Find more details on these errors here.

To ensure your XML sitemaps are accurate and structured properly, you must know how to prevent syntax errors and common sitemap mistakes. One of the most convenient ways to accomplish this is through the use of XML sitemap validators, like this one. Tools like these will generate a comprehensive report, highlight problematic sections or lines of code, and provide you with valuable insights on how to fix common sitemap errors.

Once you have fixed all sitemap errors mentioned in your GSC report, resubmit your updated sitemap with a new request. Open the Sitemaps report in Google Search Console, add your sitemap URL to the Add a new sitemap box, and click Submit. For minor updates, let Google follow its regular crawling schedule.

To learn the ins and outs of website indexing, read this complete guide.

Balancing the submitted URLs vs indexed URLs ratio

Even if your sitemap or sitemap index file status says Success, that doesn’t mean your work is complete. Click the See Page Indexing button next to the number of discovered URLs to go to the respective report. You may begin investigating it only to discover that not all of the pages you submitted were indexed.

Screenshot of Page Indexing tool in Google Search Console

When monitoring the indexing status of your website’s pages in Google Search Console, you can use the sitemap filter feature, which makes switching between sitemaps and page categories easy.

To access this feature, navigate to the Page Indexing report in Google Search Console, select the Sitemap filter, and then choose the category or sitemap to examine. This is where you can view the following reports:

It’s common and considered good practice to exclude pages from indexing. This is because Google cannot like and index all of the pages on your website. Many websites have pages that webmasters don’t want to index, such as admin areas, utility pages, duplicates, and alternative pages.

If Google is not indexing your pages, it’s likely because you added pages that shouldn’t be on your sitemap. Google may not be able to index and crawl the page because of a noindex directive, or Google may be unsure about whether you want the page indexed or not, such as when you add non-canonical pages to your sitemap. Each of these instances can be found in different tabs of the GSC Page Indexing report, but it’s more convenient to check them using SE Ranking’s Website Audit tool, which will show any crawling issues in the Sitemap section of the Issue report.

Screenshot of Sitemap section in SE Ranking's Website Audit

To resolve the non-indexed pages issue, remove noindex and non-canonical pages from your sitemap. Alternatively, if the pages were marked as noindex and non-canonical by mistake, fix the wrong tag issues to enable proper indexing.

Once you’re sure your sitemap is not sending confusing signals to Google, go through the Page Indexing report to find instances where you and Google disagree on the value of a page.

It’s recommended to take a closer look at all of these pages and then see what you can do; either increase their value if they should be indexed, or provide Google with more distinct signals for pages that are unwanted in its index.

Conclusion

Fixing sitemap errors is a crucial part of an effective website crawling and indexing strategy. We hope this guide helped you fix common XML sitemap errors on your report. Another important aspect to remember is that your sitemap should include only pages you want Google to index. We recommend only keeping juicy, high-quality pages on your sitemap while removing all pages that may give a bad impression on search engines. If you have any remaining questions, don’t hesitate to reach out to us via our live chat or get in touch with us on Facebook.

Svitlana is the Content Team Lead at SE Ranking, where she steers content strategy and ensures the team’s output hits the mark. With a passion for content marketing, SEO, and AI, she occasionally shares her insights on the SE Ranking blog. Outside of work, Svitlana is busy keeping her toddler alive and smiling. She’s also a fan of literature, art, and travel.