Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to check sitemap on localhost using ACS common Sitemap OSGi Service ?

Suraj_Kamdi
Community Advisor
Community Advisor

How to check sitemap on localhost using ACS common Sitemap OSGi Service ?

I have set the homepage template path in ACS commons sitemap OSGi service. also set the localhost path in Day CQ Mail Service. then How to see the sitemaps on localhost. Can anybody know how to see the sitemap.xml file locally.

1 Accepted Solution
justin_at_adobe
Correct answer by
Employee
Employee

The SiteMap servlet gets configured with the resource (component) type, not the template path.

Once configured, you can request http://localhost:4502/<path to page>.sitemap.xml

For example, with weretail, you would configure the servlet with a resource type of weretail/components/structure/page (see screenshot below) and then request http://localhost:4502/content/we-retail/us/en.sitemap.xml

1526710_pastedImage_1.png

View solution in original post

5 Replies
Suraj_Kamdi
Community Advisor
Community Advisor

yes I am referring to Sitemap Generator of acs-commons bundle.

I have put the homepage template path in ACS commons sitemap Servlet OSGi service. also put the localhost path in Day CQ Link Externalizer. then How to see the sitemaps on locally ?

smacdonald2008
Level 10
Level 10

I have asked the team whom worked on this functionality to respond to this question.

justin_at_adobe
Correct answer by
Employee
Employee

The SiteMap servlet gets configured with the resource (component) type, not the template path.

Once configured, you can request http://localhost:4502/<path to page>.sitemap.xml

For example, with weretail, you would configure the servlet with a resource type of weretail/components/structure/page (see screenshot below) and then request http://localhost:4502/content/we-retail/us/en.sitemap.xml

1526710_pastedImage_1.png

View solution in original post

meghsarora
Level 1
Level 1

How can we shorten URL in sitemap , For example

<url>
</url>
I am getting above in my sitemap.xml and I want to remove "/content" .. how can I achieve  this