-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Needs investigationThis needs some diving in to before it can be worked onThis needs some diving in to before it can be worked on
Description
Addon
Webtools Core - Sitemap Addon
Describe the bug
When I publish a document from Strapi and have auto-publish turned on, the content does not appear in the sitemap. However, if I turn off the “exclude drafts” setting in the sitemap add-on and then publish the document, it does appear in the sitemap.
I think this is a Strapi v5 issue, because in Strapi v5, Draft and Publish are treated as separate states.
Steps to reproduce the behavior
- Go to Strapi
- Publish Any document
- Go to sitemap
- Not visible even if auto generate true
Expected behavior
It needs to visible in sitemap as auto generate is true.
Screenshots
No response
Code snippets
Node.js version
v21
Package manager
NPM
Strapi version
5.30.1
Plugin version
1.3.0
Database
PostgreSQL
Operating system
macOS
Additional context
No response
Metadata
Metadata
Assignees
Labels
Needs investigationThis needs some diving in to before it can be worked onThis needs some diving in to before it can be worked on