Feedback on BeAloud
Submit a Post on BeAloud

How to add images to your XML Sitemap for Google

By Daniel Peiser - 8 Apr 10 - SEO
How to add images to your XML Sitemap for Google

Google Webmaster Central Blog has published a useful post about a new Sitemaps extension that allows you to add information about images on your website’s pages.

If you know how to write an XML Sitemap file, adding images will be easy: You just have to add information about the images right after you specify the URL of the page where the image is residing.

The Sitemap would only show the location and the file name of every image, but Google will use meta tags and on page information like words “surrounding” the image, its alt and title attributes, to understand how to index it.

The following code is taken from Google Webmaster Central Blog:

<?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>

</url>
</urlset>

How to optimise your images for Universal SEO

Google images search can be an important traffic source and images take an important share of the Search Engine Result Page for many different queries: SERPs can show different kind of results, like images, News, Tweets and many more.

While adding images to your XML Sitemap would increase the chances for your images to be indexed, optimising images with proper file names, alt and title attributes are Universal SEO best practices that should be implemented in order to achieve better rankings.

XML Treasure Sitemap credit: Fabric Attic

Share
Vote This Post DownVote This Post Up +1
Loading ... Loading ...
Comments