Not generating sitemap links in Drupal 10

Created on 27 June 2023, about 1 year ago
Updated 10 January 2024, 6 months ago

Issue

After upgrading to Drupal 10 (multisite), XML sitemap not showing any links(not adding links) except the base URL.
Tried to rebuild the queue and regenerate sitemap file but no links being added to the file.
Configuration have the inclusion for multiple content type though it's not adding any other links.

💬 Support request
Status

Fixed

Version

4.1

Component

Code

Created by

🇮🇳India jyodsh

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jyodsh
  • 🇩🇪Germany gbyte Berlin

    To be honest I doubt this module is out-of-the-box compatible with a multi-site installation. There are issues like this one: ✨ Make functional in multisite installations & domain_access Active and there is a domain_simple_sitemap contrib module that tries to fix it for simple_sitemap but it may be outdated. I don't use multi-site, but am happy to patch the module if someone can provide a clean patch.

    No links being included in the sitemap sounds like a configuration problem. Make sure the links are accessible and configured for the correct variant. The screenshot you provided is not of link inclusion; it only shows what generators the sitemap consists of.

    The 'default' in the domain can be fixed by giving the drush command the calling URL as context. Search the queue for more information.

  • Status changed to Fixed 6 months ago
  • 🇩🇪Germany gbyte Berlin
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024