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?

1 Answer 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.