<p>You can manually create a dynamic sitemap with a Craft assets query, using any of the search parameters. <a href="https://craftcms.com/docs/3.x/assets.html#search" rel="nofollow noreferrer">https://craftcms.com/docs/3.x/assets.html#search</a></p>

CC BY-SA 4.0
2022-03-03T17:32:54.517Z
2022-03-03T17:32:54.517Z
Andrew
<p>I'm using the sitemap.xml plugin to generate a site map. This works for entries, but doesn't seem to allow the indexing of assets (PDFs in particular). Is there a way to create a site map of an asset directory dynamically, or through a dedicated entry that will create one?</p>

<plugin-sitemap>
Site map for assets
# Site map for assets

(Asked by: username_0 on 2022-03-02)

I'm using the sitemap.xml plugin to generate a site map. This works for entries, but doesn't seem to allow the indexing of assets (PDFs in particular). Is there a way to create a site map of an asset directory dynamically, or through a dedicated entry that will create one?

**Tags:** plugin-sitemap


---

## 1 answers

### Answer by username_0 on 2022-03-03. Score: 1

You can manually create a dynamic sitemap with a Craft assets query, using any of the search parameters. <https://craftcms.com/docs/3.x/assets.html#search>


---

