WithCandour / statamic-aardvark-seo

Candour's SEO addon for Statamic
https://statamic.com/marketplace/addons/aardvark-seo
12 stars 18 forks source link

Sitemap not displaying collections. #165

Closed geertjanknapen1 closed 4 months ago

geertjanknapen1 commented 11 months ago

I have a bunch of collections and a bunch of taxonomies. I've excluded every taxonomy from the sitemap, and have NOT excluded any collections. However, when I hit the sitemap route, it's empty. Any reason why? Our project is heavily customized, could that be the issue?

It makes sense that there are no entries for the taxonomies since I've excluded them, but collections should in theory show up.

I also cannot create a taxonomy/collection mapping, since we only attach a taxonomy to an entry, it's not done through the collection. We kind of use taxonomies as a category. Could that be an issue?

Are there any additional settings that I'm not aware of not listed below?

<url>/sitemap.xml result:

image

Sitemap settings: image

CandourDevs commented 4 months ago

@geertjanknapen1 Sorry for the delay in replying. Unfortunately, we haven’t been able to recreate this. Is it possible that you have set no-index on your collections? That was the only thing we tried that removed the collections from the sitemap.

geertjanknapen1 commented 4 months ago

Heya, we don't use the no-index on collections. However this issue has been moved to the backburner in January, so I have no way to recreate it now, and no use for it at the moment either. So unless you can do something with this limited information, you might as well close it :)

Thanks for replying though!

CandourDevs commented 4 months ago

@geertjanknapen1 Thank you for letting us know. It's much appreciated. We'll close it for now, but obviously, feel free to reopen if it causes you an issue in the future.