How to Sitemap ?
A Sitemap is an easy way for webmasters to inform robots of search engines about pages that make up its Web site. It is particularly suitable for Web sites that have no links as HTML sites with Flash or Javascript, but also information on the pages behind a form.
It's an XML that lists URLs of a site by adding information such as date of last update, the frequency at which data are induced to be altered and the relative priority of URL.
To use a Sitemap must comply with the protocol Sitemap Generator to make the sitemap of your web site.
Using the Sitemap protocol does not guarantee the inclusion of web pages in search engines, but provides guidance to crawlers and optimize their operation.
It's an XML that lists URLs of a site by adding information such as date of last update, the frequency at which data are induced to be altered and the relative priority of URL.
To use a Sitemap must comply with the protocol Sitemap Generator to make the sitemap of your web site.
Using the Sitemap protocol does not guarantee the inclusion of web pages in search engines, but provides guidance to crawlers and optimize their operation.
Sitemap XML
A Sitemap is limited to 50 000 URLs and 10 MB (10 485 760 bytes). But, you can compress your Sitemap files using gzip to reduce the needs in terms of bandwidth, however, the sitemap file once unzipped should not exceed 10MB.
Exemple Sitemap XML
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://www.example.com/</loc>
<lastmod>2008-01-01</lastmod>
<changefreq>monthly</changefreq>
<priority>1.0</priority>
</url>
</urlset>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://www.example.com/</loc>
<lastmod>2008-01-01</lastmod>
<changefreq>monthly</changefreq>
<priority>1.0</priority>
</url>
</urlset>
Tag Definitions Sitemap XML>
DTD Sitemap XML
<!DOCTYPE sitemap [
<!ELEMENT urlset (url+)>
<!ELEMENT url (loc, lastmod?, changefreq?, priority?)>
<!ELEMENT loc (#PCDATA)>
<!ELEMENT lastmod (#PCDATA)>
<!ELEMENT changefreq (#PCDATA)>
<!ELEMENT priority (#PCDATA)>
]>
Index Sitemap XML
Sample Sitemap XML
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"&g;
<sitemap>
<loc>http://www.example.com/sitemap1.xml</loc>
<lastmod>2008-01-01</lastmod>
</sitemap>
<sitemap>
<loc>http://www.example.com/sitemap2.xml.gz</loc>
<lastmod>2007-12-01</lastmod>
</sitemap>
</sitemapindex>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"&g;
<sitemap>
<loc>http://www.example.com/sitemap1.xml</loc>
<lastmod>2008-01-01</lastmod>
</sitemap>
<sitemap>
<loc>http://www.example.com/sitemap2.xml.gz</loc>
<lastmod>2007-12-01</lastmod>
</sitemap>
</sitemapindex>
Tag Definitions Index Sitemap XML
DTD Index Sitemap XML
<!DOCTYPE sitemapindex [
<!ELEMENT sitemapindex (sitemap+)>
<!ELEMENT sitemap (loc, lastmod?)>
<!ELEMENT loc (#PCDATA)>
<!ELEMENT lastmod (#PCDATA)>
]>
Sitemap file location
A Sitemap file located at http://exemple.fr/catalog/sitemap.xml can include any URLs starting with http://exemple.fr/catalog/, but can not include URLs starting with http://exemple.fr/images/..
For more information visit www.sitemap.org
Sitemap Generator