You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note this part from the readme to make sure the URLs in the index are correct:
It is required to set the url in the ./config/server.js file in your Strapi installation. That will be used to create the links to the different chunks.
Bug report
Sitemap Breaks When Exceeding Limit and Strapi Port Differs from Default
Describe the bug
Plugin default value:
Limit: 45000 breaks to pages
When crossing the limit, the site map is broken.
Steps to reproduce the behavior
env
define portany - not default
config/plugin.[ts]/[js]
changelimit
to2
to force creating multi-pagesGenerate sitemap
Expected behavior
Pointing to:
HTTP[s]://DOMAIN:PORT/api/sitemap/index.xml?page=n
However, the preferred results should be (like in our case API server and front end not using the same domain):
Instead of using page=n you should use
In our case, A Full URL
Pointing to:
http://DOMAIN:4337/api/sitemap/[page]/index.xml
Error Screenshots
Code snippets
plugin config
System
STRAPI VERSION: v4.20.0
Community Edition
NODE VERSION: v20.11.0
"strapi-plugin-sitemap": "^3.0.8",
Additional context
NA
The text was updated successfully, but these errors were encountered: