Developer forum

Forum » Templates » Adjusting sitemap.xml

Adjusting sitemap.xml

Ivan Marijanović
Ivan Marijanović
Reply

Hi

I have a request for adjusting how sitemap.xml is created. As you can see for pages we get full path which is ok but for groups I get only path without host.

 

How can this be changed. Also I tried to remove products form sitemap (in websute settings for robots.txt but it doesnt seems to work (Unchek box. Save. Reload.Nothing)

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<script/>
<url>
<loc>https://www.example.hr/hr-hr/frontpage</loc>
</url>
<url>
<loc>https://www.example.hr/hr-hr/croata-life</loc>
</url>
<url>
<loc>https://www.example.hr/hr-hr/proizvodi</loc>
</url>
<url>
<loc>/hr-hr/products/dame-3</loc>
</url>
<url>
<loc>/hr-hr/products/dame/nova-kolekcija-3</loc>
</url>
 
 

Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

What version are you on. A bug related to this was fixed with 9.6.15:

https://doc.dynamicweb.com/downloads/releases/bug-fixes/bug-fixes-for-9-6#9.6.15

Votes for this answer: 1

 

You must be logged in to post in the forum