
Crucially, these must be absolute, not relative, canonical URLs.Īlthough this is the only required tag here, there are a few optional properties: You must specify the location of the URL in a nested tag. Most sitemaps specify the Sitemap 0.90 standard, which is supported by Google, Yahoo!, and Microsoft amongst others. It also tells crawlers which protocol standard is used.

This is a container for all the URLs in the sitemap. For sitemaps, the version should be 1.0, and the encoding must be UTF‑8. It also states the version of XML and character encoding used. This tells search engines that they’re reading an XML file. They can look a bit daunting if you’ve never seen one before. XML sitemaps are made for search engines, not humans.
