sitemap.xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://www.davidvandertuijn.nl/</loc>
<lastmod>2012-08-07</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>http://www.davidvandertuijn.nl/contact</loc>
<lastmod>2012-08-07</lastmod>
<changefreq>never</changefreq>
<priority>0.5</priority>
</url>
</urlset>
De volgende XML elementen zijn optioneel:
- lastmod: YYYY-MM-DD;
- changefreq: always, hourly, daily, weekly, monthly, yearly, never;
- priority: 0.0 to 1.0. (0.5 = default).
De sitemap dient met een UTF-8 encoding opgeslagen te worden in de DOCUMENT ROOT als sitemap.xml.
Let op: Escape HTML entities in XML of gebruik:
<![CDATA[ ... ]]>
Voorbeeld : sitemap.xml
robots.txt
Vermeld de locatie naar de XML Sitemap in robots.txt.
Google Webmaster Tools
Meld de XML Sitemap aan bij Google Webmaster Tools:
Meer informatie : sitemaps.org - Protocol | XML-sitemaps.nl - Gratis xml sitemap generator | Maak een xml sitemap van uw website voor de zoekmachines
Categorieën
XHTML