# How To Create multiple sitemap

**URL:** <https://discourse.gohugo.io/t/how-to-create-multiple-sitemap/34837>\
**Category:** support\
**Created:** [September 23, 2021, 3:59am UTC](https://discourse.gohugo.io/t/how-to-create-multiple-sitemap/34837 "2021-09-23T03:59:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![limpbizkit](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@limpbizkit](https://discourse.gohugo.io/u/limpbizkit)\
**Post date:** [September 23, 2021, 3:59am UTC](https://discourse.gohugo.io/t/how-to-create-multiple-sitemap/34837/1 "2021-09-23T03:59:03Z")

</div>

Hi , is it possible to have multiple sitemap on hugo ? like sitemap.xml , sitemap-video.xml,sitemap-image.xml  
If yes can you please teach me how to make it

---

<div class="post-metadata">

**Author:** ![techmagus](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/techmagus/32/16997_2.png) [@techmagus](https://discourse.gohugo.io/u/techmagus)\
**Post date:** [September 23, 2021, 4:26am UTC](https://discourse.gohugo.io/t/how-to-create-multiple-sitemap/34837/2 "2021-09-23T04:26:56Z")

</div>

I haven’t tried that but you can probably create a `sitemap-video.xml` in `layouts/_default/`.

Then in your `config.toml` add something like:

```auto
[outputs]
  home = ["HTML", "SitemapVideo"]

[outputFormats]
  [outputFormats.SitemapVideo]
    name = "SitemapVideo"
    mediaType = "application/xml"
    baseName = "sitemap-video"

```

**Note** : Again, I haven’t tried it so it could be wrong but you could give it a try.

For what you should put in your `layouts/_default/sitemap-video.xml`, just copy what is in `sitemap.xml` and then adjust it to your needs.

Also check: [https://gohugo.io/templates/sitemap-template/](https://gohugo.io/templates/sitemap-template/)

🙂

---

<div class="post-metadata">

**Author:** ![ju52](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/ju52/32/6749_2.png) [@ju52](https://discourse.gohugo.io/u/ju52)\
**Post date:** [September 24, 2021, 9:50am UTC](https://discourse.gohugo.io/t/how-to-create-multiple-sitemap/34837/3 "2021-09-24T09:50:40Z")

</div>

I use a home sitemap and section sitemaps,

here my [sample templates](https://github.com/gj52/HugoSample/tree/master/themes/photon/layouts/_default)

HTH
