8 – How to completely export the configuration parameters of XML Sitemap?


I have the XML sitemap installed on a few sites, but due to SEO issues, I am now responsible for activating the module on all of the sites we support. I have an update hook ready, but I'm having a problem importing configurations.

When I export the xmlsitemap.settings.yml file, I simply get the following:

minimum_lifetime: 0
xsl: 1
prefetch_aliases: 1
chunk_size: auto
batch_limit: 100
path: xmlsitemap
frontpage_priority: !!float 1
frontpage_changefreq: 86400
lastmod_format: 'Y-m-dTH:iZ'
gz: false
clean_url: 0
disable_cron_regeneration: false
i18n_selection_mode: simple

I have set up rules for media and content, but as you can see, it only picks up Frontpage. The goal is to make all these parameters true for all the sites I manage.

I would appreciate any help. Thank you!