Developer forum

Forum » Ecommerce - Standard features » Sitemap not shows groups in url

Sitemap not shows groups in url

Maik van Sark
Reply

Hello,

I have configurated our website to use sitemap.xml and with products.

Url in sitemap.xml:
https://example.com/products/intensa-vlak-60x60x4-cm-indigo-grey
Expected:
https://example.com/products/tegels/betonnen-tegels/betontegels/intensa-vlak-60x60x4-cm-indigo-grey

Is this a setting? Or do I configure an xslt?

 


Replies

 
Nicolai Pedersen
Reply

Hi Maik

You need to setup ecommerce navigation on the products page and ensure you have primary pages and groups on your structure. You basically need to do the same as described here for canonicals: https://doc.dynamicweb.com/documentation-9/how-tos/general/canonical-urls-for-products

BR Nicolai

 
Maik van Sark
Reply

Hello Nicolai,

These settings are already configured. (see attachments)
I tried adding our productspage(ecom page) to all 3 groups (tegels/betonnen-tegels/betontegels) but this also did not work.
Any other suggestions?

dw1.png dw2.png
 
Thomas Jensen
Reply

Hi Nicolai

I have the same issue (on ver 9.5.3)

The url showen in sitemap
https://www.[the sitename].dk/produkter/wiwa-hd-2-injektionsanlaeg

The expected url
https://www.[the sitename].dk/produkter/airless-malersproejter-industri/wiwa-injektionspumper/wiwa-hd-2-injektionsanlaeg

I have set the primary product page on the group (and parent groups)
I have set primary group for the product (this givs a canonical link to the right url on the page from the sitmap link)

This is on all products

Regards Thomas

 
Kim Søjborg Pedersen
Reply

Hi Nicolai

I have the same result as Thomas, everything is fine but the product url showen in sitemap ignore the "primary group" set on the product.

Note: I have not set the primary group on all the products, just picked a few and testing on them. 

The Version is 9.6.6

Best Regards
Kim

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Kim

You can try to make upgrade of Dynamicweb.Ecommerce to version 1.6.47 (Maybe together with a 9.6.10) - that should solve that issue.

BR Nicolai

Votes for this answer: 1
 
Kim Søjborg Pedersen
Reply

Hi Nicolai

Problem solved, thanks

/Kim

 
Brian Bolks
Reply

Hi Nicolai,

It still doenst work 100%. I noticed 2 things/bugs. 

1: When selecting "Groups" in the Parent group settings it wont render any products in the sitemap. (only the normal pages)

2: When selecting "Shop" in the Parent group settings it will render all products only issue it renders them all with relative paths instead of the required full urls.

Example: 

/producten/tegels/betonnen-tegels/betontegels/intensa-vlak-60x60x4-cm-indigo-grey

instead of 

http://domain.com/producten/tegels/betonnen-tegels/betontegels/intensa-vlak-60x60x4-cm-indigo-grey

parentgroupsetting.png

 

You must be logged in to post in the forum