Hello there,

recently I've got a feature request by @CKIDOW in my module to support robotstxt.
https://www.drupal.org/node/2862987

Upon investigation I figured out that despite XML Sitemap module supports multiple sitemaps and implements hook_robotxt() the hook implementation is designed to display only one sitemap with the blank context. I believe that's wrong and I suggest it to be patched.

Thanks.

Files: 

Comments

skullhole created an issue. See original summary.

skullhole’s picture

Attaching the patch.