6

Following Google's guide to Image sitemaps

<?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"> <url> <loc>http://example.com/sample.html</loc> <image:image> <image:loc>http://example.com/image.jpg</image:loc> </image:image> <image:image> <image:loc>http://example.com/photo.jpg</image:loc> </image:image> </url> </urlset>

If let's say I use ford.jpg on a broad /car-manufacturers.html and then again on /ford.html

Should I list the same image twice in my sitemap, in each of those two URLs? Otherwise which one should it go on?

3

Yes, you should list it once for each URL that the image is associated with. Since users will see the image associated with both pages, it makes sense for scrapers/bots to see the image associated with both pages.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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