rel-sitemap

From Microformats Wiki
Revision as of 12:15, 13 December 2011 by Phluid61 (talk | contribs) (New page: ==Introduction== From http://www.sitemaps.org/ : <blockquote> Sitemaps are an easy way for webmasters to inform search engines about pages on their sites that are available for crawling. I...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

From http://www.sitemaps.org/ :

Sitemaps are an easy way for webmasters to inform search engines about pages on their sites that are available for crawling. In its simplest form, a Sitemap is an XML file that lists URLs for a site along with additional metadata about each URL (when it was last updated, how often it usually changes, and how important it is, relative to other URLs in the site) so that search engines can more intelligently crawl the site.

Web crawlers usually discover pages from links within the site and from other sites. Sitemaps supplement this data to allow crawlers that support Sitemaps to pick up all URLs in the Sitemap and learn about those URLs using the associated metadata. Using the Sitemap protocol does not guarantee that web pages are included in search engines, but provides hints for web crawlers to do a better job of crawling your site.

The structure of the XML document, and the sitemap protocol in general, is defined at http://www.sitemaps.org/protocol.html

The sitemap relation extends the protocol to allow each web page in a site to link back to its associated sitemap, instead of using a more general technique such as robots.txt

Details

The relation appears within the HEAD section of the HTML document:

<link rel="sitemap" href="/sitemap.xml"/>