Goal
- Provide summary information about all of the available content that is machine-readable.
- Reduce the energy impact related to the consultation of the site.
- Improve the way content is taken into account by search engines and indexing tools.
Implementation
Create a sitemap.xml file containing the listing of pages at the root of the website. If the XML format is not used, search engines accept a simple listing of URLs.
Control
Using the URL of the website checked:
- Check that there is a
sitemap.xmlfile at the root of the site, by accessing it directly in the browser with a URL of the type http://example.com/sitemap.xml; - Otherwise, consult the
robots.txtfile to find a specific URL mentioned in the formatsitemap: http://example.com/address/ofthe/file.xml.