System Administrator DevOps Marketing Jahia 8.1 Jahia 8.2

How to add new content to the sitemap?

Question

I'd like that content with a custom nodetype or mixin to be considered in the generation of the sitemap, how can I do that?

Answer

You have to modify the configuration file JAHIA_HOME/digital-factory/data/karaf/etc/org.jahia.modules.sitemap.config.impl.ConfigServiceImpl.cfg, property sitemap.included-content-types.

If you don't have access to the file system, you can modify the configuration thanks to the OSGI console (JAHIA_URL/tools/osgi/console/configMgr), name org.jahia.modules.sitemap.config.impl.ConfigServiceImpl.