Google Recommends You Split Sitemap Files By File Type

Jun 6, 2008 - 7:45 am 1 by

A Google Groups thread reports an issue (or a feature, depending on your view) with Google's Sitemap handling.

In short, a webmaster used one Sitemap file for all his content. In that file, he specified the geo data by using <geo:format> tags. When the Sitemap was produced in Google, Google returned an error that read, "Status: Invalid XML tag." This confused the webmaster, because the tag is valid.

JohnMu came in, suggesting that he split the geo content in the Sitemap into a new Sitemap file. John suggested, "that you spit your URLs into separate Sitemap files based on the kind of content they're pointing to." He explained, "make a single Sitemap file just for your geo-content, and a different Sitemap file for (X)HTML / web-search based content."

Why does Google want you to do it this way? John says, it "makes it easier for us to recognize the kind of content that you're pointing to and helps to makes sure that we route it to the appropriate group within Google."

This is something to keep in mind when creating Sitemap files.

Forum discussion at Google Groups.

 

Popular Categories

The Pulse of the search community

Search Video Recaps

 
- YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: April 29, 2025

Apr 29, 2025 - 10:00 am
Other Search Engines

ChatGPT Search Gains Shopping Search Features (Not Ads) & More

Apr 29, 2025 - 7:51 am
Google Search Engine Optimization

Google: Changing Lastmod Date In Sitemap Isn't An SEO Hack

Apr 29, 2025 - 7:41 am
Bing Search

Bing Tests New AI Answer Summary

Apr 29, 2025 - 7:31 am
Google Ads

Google Tests New Shopping Ads Design

Apr 29, 2025 - 7:21 am
Bing Search

Bing Search Without Microsoft Name By Logo

Apr 29, 2025 - 7:11 am
Previous Story: Google's Diego Velázquez Birthday Logo