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.

Members fund testing for the Drupal project. Drupal Association Learn more

Comments

skullhole created an issue. See original summary.

skullhole’s picture

Attaching the patch.

phjou’s picture

The patch could not be applied anymore, just did it again.