I'm using a tool to generate the sitemap.xml file for me, it started to crawl my website, got the pages and all images, but when exporting it, I review the XML (to make sure nothing is wrong) and I noticed that the images in my website are wrapped in URL tags (I think it should be in image tags).
See this:

Shouldn't it be wrapped in image tag? (just like videos wrapped in video tag)


That doesn't look correct for images being listed in a sitemap, I would use another sitemap generator. The example below is from Google's Webmaster Central blog post about adding images to your sitemap

<?xml version="1.0" encoding="UTF-8"?>
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"

And more information can also be found here about image sitemaps http://support.google.com/webmasters/bin/answer.py?hl=en&answer=178636

| improve this answer | |
  • Yeah images are better in a separate image sitemap. – DisgruntledGoat Jun 3 '12 at 11:43

If the tool is inserting images into loc it is either very old or configured incorrectly or buggy :)

You should, like others have said create separate image sitemap, video sitemap etc. that features such content.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.