Home page is not added in ACS commons sitemap | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
May 19, 2021 8:30 AM UTC

Can you check if your home page has the “Hide in Nav” flag enabled?

 

The sitemap will contain the current page and all descendent pages, skipping pages which have the “Hide in Nav” flag enabled.

Arun Patidar

5 replies

New Participant
Aug 27, 2021 12:26 AM UTC

Hi @sanket_dange  @arunpatidar  ,

I have a similar requirement where I need to display the domain (https://www.mysite.com) in sitemap.xml instead of home page (https://www.mysite.com/index/)

 

<loc>https://www.mysite.com/index/</loc>  --> should be <loc>https://www.mysite.com/</loc> 
 
Tried the following options:
1. In Home page properties added "/" for vanity URL property
2. Added entry in rewrite rules to "/index / "
 
None of these work. Could you suggest how to address this?
 
Thanks,
Bindu
Translate
arunpatidar
New Participant
Aug 29, 2021 11:50 AM UTC

Hi,You can check all the posibilities of ACS Commons sitemap generator at https://adobe-consulting-services.github.io/acs-aem-commons/features/sitemap/index.html

Translate
Arun Patidar
arunpatidar
arunpatidarAccepted solution
New Participant
May 19, 2021 8:30 AM UTC

Can you check if your home page has the “Hide in Nav” flag enabled?

 

The sitemap will contain the current page and all descendent pages, skipping pages which have the “Hide in Nav” flag enabled.

Translate
Arun Patidar
Level 2
May 19, 2021 8:36 AM UTC

<loc>https://www.abc.com/home.html</loc> is present in sitemap.xml. but abc-www is node type cq:page without jcr node. Is it possible to add www.abc.com in xml. Is there any way to add after xml creation and before it render. So I can add home page(www.abc.com) entry in XML before render

Translate