Google and Bing sitemaps (feat. schema gotcha)

Created sitemaps for Google and Bing. Here are couple of useful urls:

I splitted the sitemap into two files – one for English and one for Finnish:

I also added a sitemap index file that can be added to Google and Bing webmaster tools:

There’s a gotcha in defining the schemas: If you use the schemas from Google’s examples, Google webmaster tools will give you “Incorrect namespace” error. Use these instead:

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
        xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">

Leave a Reply