Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
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
----------------------------------------------------------
Gelöst! Gehe zu Lösung.
Anhand von Themen werden Community-Inhalte kategorisiert und Sie können so relevanten Inhalt besser finden.
Zugriffe
Antworten
Likes gesamt
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
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" }
}
Zugriffe
Antworten
Likes gesamt
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
Zugriffe
Antworten
Likes gesamt
I suggest you to turn on debug in dispatcher logs and check why the dispatcher filters are blocking the request.
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!
Zugriffe
Antworten
Likes gesamt