Yes, Google Will Index & Rank Your XML Sitemap File

Nov 18, 2008 - 8:22 am 6 by

Every day that goes by, I become a bigger fan of setting up an XML Sitemap file for Google and the other search engines to chew on. I think Sitemap files are important for sites to take full advantage of being indexed in Google. Clearly, submitting a Sitemap file is just one small step you need to do to enjoy ranking well in Google. You can often submit a sitemap file and Google won't index all your pages. We discussed this topic yesterday with My Pages Are Dropping Out of Google: What Do I Do?

What I find interesting is not only does a Sitemap help you tell Google about your pages, it also gives Google another document to index and include in their search results. Yes, Google may index your XML sitemap file and rank it in the search results. For example, a search on inurl:sitemap.xml returns Google's XML Sitemap towards the top of the search results for me:

Google's Sitemap File Indexed & Ranking

That being said, hundreds of Sitemap files are indexed and in the search results. They typically only come up for very specific searches, that likely won't impact the normal searcher.

Two Google Group threads are discussing this. One, JohnMu of Google replied to, saying:

It does look like we have some of your Sitemap files indexed. It's possible that there is a link to them somewhere (or perhaps to the Sitemaps Index file). At any rate, I wouldn't worry about this since these are generally not URLs that will come up in the search results, so apart from people like you who look at the details, nobody will really be seeing them.

If you really don't want them to show up in the Google results, you have a way out. Here is how according to JohnMu:

If you do want to have them removed from the index, you could have your server send a "x-robots-tag" HTTP header tag with the contents of the file. Since they all appear to be originating from a single script, I imagine adding this would be fairly easy. For more information on the "x-robots-tag", please see our blog post.

Is Google indexing your Sitemap file? Do you care?

Forum discussion at Google Group.


Popular Categories

The Pulse of the search community


Search Video Recaps

Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: May 24, 2024

May 24, 2024 - 10:00 am
Search Video Recaps

Search News Buzz Video Recap: Google Ranking Volatility, Ads In Google AI Overviews, Sundar Pichai Interview, Heartfelt Helpful Content & More Ad News

May 24, 2024 - 8:01 am
Google Search Engine Optimization

Google: The Site Reputation Abuse Policy Enforcement Not Yet Algorithmic

May 24, 2024 - 7:51 am
Google Search Engine Optimization

Google Search Can Now Index Electronic Publication (EPUB)

May 24, 2024 - 7:41 am

Directory Of Embarrassing Google AI Overviews

May 24, 2024 - 7:31 am
Web Analytics

Google Analytics Real-Time Reports Adds Users In Last 5 Minutes

May 24, 2024 - 7:21 am
Previous Story: Google Maps for Mobile Working On Preloading Maps