ethercreative/seo

Grouped Section Sitemap Empty

charliestrafe opened this issue · 5 comments

Description

Hi there,

I am having an issue where the grouped sitemap for each section is not actually showing any individual entries. This is happening for all of my sitemap groups.

The main sitemap:
Screenshot 2022-07-18 at 09 18 58

A individual group: (which is empty)
Screenshot 2022-07-18 at 09 18 00

I have enabled the sitemap for the section within the backend, and configured the settings so it should be all working. Each section has more than 30+ entries in so these should be showing.

Steps to reproduce

  1. View sitemap
  2. Grouped sitemaps don't show entries

Additional info

  • Craft version: Craft Pro 4.1.4.1
  • SEO version: v4.0.3
  • PHP version: 8.1.0
  • Database driver & version: MySQL 5.7.32
  • Other Plugins: Freeform, Navigation, Redactor, Super Table, Workflow, Typed Link Field

@charliestrafe This is odd, and not expected behaviour.

Have you tried clearing all the caches via utilities?
Also, are the three selections showing correctly or are you expecting more sections?

Just cleared all caches and that didn't fix it.
Yes all sections are showing, I clicked 'remove from sitemap' on some of them just to test if it was reflected in the XML and it was. Not sure whats going on here.

Do the sections all have public URLs?

Yes, all public URLs

😕

Does it work on any of your other sites? And if it does, is there anything different to the way you've configured those?

Also, try checking the logs, as the closing </urlset> is missing from the section sitemap which makes me think there's an error.