Sitemap

A sitemap is a list of pages of a website. Structured listings of a site’s pages help with search engine optimization, providing a link for web crawlers such as search engines to follow.

Settings

Set the default values for change frequency and priority, and the name of the generated file, in config/_default/hugo.toml.

See the Sitemap reference page for all available values.

hugo.toml
[sitemap]
  changefreq = "monthly"
  filename = "sitemap.xml"
  priority = 0.5

Generated files

Hyas SEO generates the following sitemap.xml — for example:

sitemap.xml
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
   <sitemap>
      <loc>https://seo.gethyas.com/en/sitemap.xml</loc>
      <lastmod>2023-09-07T17:19:07+02:00</lastmod>
   </sitemap>
   <sitemap>
      <loc>https://seo.gethyas.com/de/sitemap.xml</loc>
      <lastmod>2023-09-07T16:04:48+02:00</lastmod>
   </sitemap>
   <sitemap>
      <loc>https://seo.gethyas.com/nl/sitemap.xml</loc>
   </sitemap>
</sitemapindex>

Resources