Configuration

By default, no XML sitemaps are injected into robots.txt. You need to explicitly enable this feature in site configuration of each site you want it to use.

Site configuration

Within the site configuration, it is possible to enable or disable injection of located XML sitemaps. The appropriate setting is provided by the following configuration:

sitemap_robots_inject (site)

sitemap_robots_inject (site)
Type
bool
Path
sitemap_robots_inject

Enable or disable injection of located XML sitemaps into the robots.txt of the current site.

Configuration of sitemap injection within the Sites module