Developer forum

Forum » Ecommerce - Standard features » Identical group names across shops

Identical group names across shops

Kim Søjborg Pedersen
Reply

Hi,

It occurs to me that you can not have 2 identical group names across shops. Although websites have unique domains.

Setup:

Website 1 running on Shop 1
Website 2 running on Shop 2

In shop 1 and shop 2 I have a group named "Handle".

On website 1 the url is like mysite1.com/handle/myproduct but on website 2 it is mysite2.com/handle-1/myproduct 

Is this by design?

DW 9.8.9

Best Regards
Kim

 


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Yes you can.

But you can get a -1 if you use the old url system, and yes that is by design. 

Anyways - if you change to the new url system you can avoid the -1. See https://doc.dynamicweb.com/documentation-9/platform/platform-tools/customized-urls#8707

The difference:

The old url systym has one big URL index for the entire solution across all websites and all languages. Because you can actually change shop, language etc on the same products page that resides in only one website. And then URLs have to be unique.

The new url system, which is made to easier avoid -1, can have many ecommerce url indexes. You attach it to one particular page, and the url index for groups and products are made part of the URL for that page and then inherits that pages URL context. This also makes it possible to do /groupname and /productname instead of /products/groupname and /products/productname etc.

Using the new version it will not be possible to publish urls from 2 shops or 2 languages on the same page though.

BR Nicolai

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

Of course you can, thanks it works great :)
 

 

You must be logged in to post in the forum