Hello, what happens is that I am making a custom sitemap, this has as name “products-sitemap.xml”
This sitemap is created by searching all the content fragments of a folder called cf-products.
I already tested it with loggers and it generates the sitemap and it looks good.
But I have a problem.
This sitemap when I want to see it or use it from the web site already in publish is not shown.
If I go to mydomain.com/products-sitemap.xml
I get a 404 error that the file does not exist, what can I do?
I add the codes used
----------------------------------------------------------
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Have you also addressed the Sitemap Servlet and Sitemap Scheduler ?
Check this out. A previous thread on same topic:
Hi @Aaron_Dempwolff ,
Did you allow the new selector products-sitemap in your dispatcher?
Yes, I make a configuration but even with that doesn't work
/filters
{
/0001 { /type "allow" /url "/products-sitemap.xml" }
}
Views
Replies
Total Likes
This pattern seems incorrect. The correct pattern will be something like this:
/0100 { /type "allow" /method "GET" /path "/content/re/en/brand" /selectors "products-sitemap" /extension "xml"}
I tried with this rule and still have the same issue
Views
Replies
Total Likes
I suggest you to turn on debug in dispatcher logs and check why the dispatcher filters are blocking the request.
Views
Replies
Total Likes
Hi,
You are missing the "filter" configuration in the dispatcher to allow the request flow till you AEM Publish instance, please check here how to set this configuration: https://experienceleague.adobe.com/en/docs/experience-manager-learn/sites/seo/sitemaps#dispatcher-al...
# Allow AEM sitemaps
/0200 { /type "allow" /path "/content/*" /selectors '(sitemap-index|sitemap)' /extension "xml" }
Hope this helps
@Aaron_Dempwolff Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Like
Replies