How to check sitemap on localhost using ACS common Sitemap OSGi Service ? | Community
Skip to main content
Suraj_Kamdi
Community Advisor
Community Advisor
July 11, 2018
Solved

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

  • July 11, 2018
  • 4 replies
  • 9240 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by JustinEd3

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

4 replies

smacdonald2008
Level 10
July 11, 2018

Are you referring to Sitemap Generator

Suraj_Kamdi
Community Advisor
Community Advisor
July 12, 2018

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 ?

Suraj Kamdi
smacdonald2008
Level 10
July 12, 2018

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

JustinEd3Adobe EmployeeAccepted solution
Adobe Employee
July 12, 2018

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

May 29, 2020

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
Level 2
February 20, 2024

@meghsarora how did you remove /content from sitemap?

 

Regards,

Giri Babu