Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!
SOLVED

Sitemap generator not working

Avatar

Level 2

Hi folks,

 

I have an AEM 6.5 setup (1 author and 1 publisher) both with SP13 installed.  I was following the instructions on https://experienceleague.adobe.com/docs/experience-manager-learn/sites/seo/sitemaps.html . This involved changing the publisher's Apache Sling Sitemap - Sitemap Generator Manager to "on demand". I then, as explained in the tutorial, enabled the US page properties "generate sitemap" and published the page. The problem I am finding is that the generator is showing the paths but not in the correct XML schema.  When calling http://localhost:4503/content/we-retail/us.sitemap.xml

 

It looks like this:

 

/content/we-retail/us/en.html/content/we-retail/us/en/experience.html/content/we-retail/us/en/experience/arctic-surfing-in-lofoten.html/content/we-retail/us/en/experience/hours-of-wilderness.html/content/we-retail/us/en/experience/fly-fishing-the-amazon.html/content/we-retail/us/en/experience/skitouring.html/content/we-retail/us/en/experience/steelhead-and-spines-in-alaska.html/content/we-retail/us/en/experience/wester-australia-by-camper-van.html/content/we-retail/us/en/men.html/content/we-retail/us/en/women.html/content/we-retail/us/en/equipment.html/content/we-retail/us/en/about-us.html/content/we-retail/us/en/products.html/content/we-retail/us/en/products/women.html/content/we-retail/us/en/products/women/coats.html/content/we-retail/us/en/products/women/coats/sleek-insulated-coat.html/content/we-retail/us/en/products/women/coats/sonja-insulated-jacket.html/content/we-retail/us/en/products/women/shirts.html/content/we-retail/us/en/products/women/shirts/rios-t-shirt.html/content/we-retail/us/en/products/women/shirts/devi-sleeveless-shirt.html/content/we-retail/us/en/products/women/shirts/soleil-tunic.html/content/we-retail/us/en/products/women/pants.html/content/we-retail/us/en/products/women/pants/hiking-pants.html/content/we-retail/us/en/products/women/pants/faba-running-pants.httml

 

instead of looking like:

 

<URL>

<loc> /content/we-retail/us/en.html </loc>

<URL>

etc...

 

Can you please advise?

 

Many thanks,

Sam

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Can you please check the view source,

It must be xml file

example https://wknd.site/us/en.sitemap.xml

view-source:https://wknd.site/us/en.sitemap.xml 



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Can you please check the view source,

It must be xml file

example https://wknd.site/us/en.sitemap.xml

view-source:https://wknd.site/us/en.sitemap.xml 



Arun Patidar