Sitemap not displaying if site in subdirectory

Created on 24 June 2020, almost 5 years ago
Updated 2 August 2024, 10 months ago

I have followed the same steps as per the module configuration.
Data is indexed but /sitemap.xml is showing white/blank page.

🐛 Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

🇮🇳India amarlata

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India keshavv India

    I am encountering the same issue on Version 4.1.9. In my local DDEV environment, everything works perfectly without any issues.

    However, on the production server hosted on AWS, a blank page is displayed on /sitemap.xml. If I uncheck the option Add styling and sorting to sitemaps in the module settings, then the XML file is displayed.

    Could someone please look into this?

  • 🇮🇳India kuldeepbarot

    Updated the patch mentioned here 🐛 Sitemap not displaying if site in subdirectory Fixed to make it compatible with version 4.2.2

  • 🇩🇪Germany gbyte Berlin

    @kuldeepbarot

    Bug reports can only be opened against the dev version of the module - Can't change an existing release.

    I just had a brief look at your patch; what happens when base URL is not set in the module settings?

    Can anyone else confirm this to still be an issue?

  • 🇧🇷Brazil luizsgpetri Campinas

    #18 worked for me.
    Disabling the styling option fixed my issue.

Production build 0.71.5 2024