Saturday 30 November 2013

Prepare two sitemaps: one for users, one for search engines

A site map (lower-case) is a simple page on your site that displays the structure of your website, and usually consists of a hierarchical listing of the pages on your site. Visitors may visit this page if they are having problems finding pages on your site. While search engines will also visit this page, getting good crawl coverage of the pages on your site, it's mainly aimed at human visitors.
An XML Sitemap (upper-case) file, which you can submit through Google's Webmaster Tools, makes it easier for Google to discover the pages on your site. Using a Sitemap file is also one way (though not guaranteed) to tell Google which version of a URL you'd prefer as the canonical one (e.g. http://brandonsbaseballcards.com/ or http://www.brandonsbaseballcards.com/; more on what's a preferred domain). Google helped create the open source Sitemap Generator Script to help you create a Sitemap file for your site. To learn more about Sitemaps, the Webmaster Help Center provides a useful guide to Sitemap files.

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://www.brandonsbaseballcards.com/</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://www.brandonsbaseballcards.com/news/</loc>
</url>
<url>
<loc>http://www.brandonsbaseballcards.com/news/2008/</loc>
</url>
<url>
<loc>http://www.brandonsbaseballcards.com/news/2009/</loc>
</url>
<url>
<loc>http://www.brandonsbaseballcards.com/news/2010/</loc>
</url>
</urlset>

No comments:

Post a Comment