Sitemap Plugin Configuration: Basic Sitemap
The Basic Sitemap is the default sitemap component configured when installing the Sitemap plugin from the feature library. The basic sitemap feed is generated from all site menus in the channel. This means that the sitemap feed will contain only URLs which are mapped directly in the site menu.
Component configuration | /hst:myproject/hst:configurations/hst:default/hst:components/forge-sitemap-feed |
Component class | org.onehippo.forge.sitemap.components.SitemapFeed |
Sitemap URL configuration | /hst:myproject/hst:configurations/hst:default/hst:sitemap/sitemap.xml |
The Basic Sitemap provides only one configuration parameter:
Parameter | Default Value | Description |
---|---|---|
depth | 2 | Maximum depth of site menu traversal for sitemap generation |
Use the Console to add this configuration parameter to the component configuration, e.g.
/hst:myproject/hst:configurations/hst:default/hst:components/forge-sitemap-feed: hst:parameternames: depth hst:parametervalues: 1