コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Home page is not added in ACS commons sitemap

Avatar

Level 2

Hi Friends ,

 I have use ACS commons sitemap to generate sitemap XML. 

Content path  :/content/abc-www/home. When I use http://localhost:5502/content/abc-www/home.sitemap.xml 
or  https://www.abc.com/home.sitemap.xml then " www.abc.com" not get added in sitemap XML.

 

sanketd11661823_0-1621410055290.png

 

1 受け入れられたソリューション

Avatar

正解者
Community Advisor

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

AEM LinksLinkedIn

元の投稿で解決策を見る

5 返信

Avatar

正解者
Community Advisor

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

AEM LinksLinkedIn

Avatar

Level 2

<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

Avatar

Community Advisor
I am not sure, if this is possible. you can try creating a page and add alias or vanity path if that work
Arun Patidar

AEM LinksLinkedIn

Avatar

Level 1

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

Avatar

Community Advisor

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

Arun Patidar

AEM LinksLinkedIn