Developer forum

Forum » Ecommerce - Standard features » Product-group path is available in all languages

Product-group path is available in all languages

Thomas Jensen
Reply

Hi

On sites with multiple languages, product-groups path from one language can be used on another (all other)

eg.
/produkter/transportbaand/ (correct DK path) *master
/produkte/foerderband/ (correct DE path)
/produits/convoyeurs-a-bande/ (correct FR path)

Mixing also works
/produits/foerderband/ (FR site and page DE group)
/produkter/convoyeurs-a-bande/ (DK site and page FR group)
And so on...

"Ensure unique paths for each area" is on (made no difference)

This has been observed on multiple solutions

Is there a way to remove/stop this behavior?
so the mixed path jumps directed to the correct or gets a 404

 

/Thomas


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Thomas

  1. You can enable "Strict url recognition" in the Ecommerce settings along with 404 for products not in website shop and language: https://doc.dynamicweb.com/documentation-9/platform/platform-tools/customized-urls#3514
  2. Alternatively, you can move to the new URL system that is enabled on pages on the areas instead of globally like the version you use now - see: https://doc.dynamicweb.com/documentation-9/platform/platform-tools/customized-urls#8707

BR Nicolai

 
Thomas Jensen
Reply

Hi Nicolai 

I tried both your surjection, and it did not do anything helpful 
 

1:
With "Strict url recognition" checked
"404 for products not in website shop" checked
"404 for products not in website language" checked
 did not change anything
 

2:
Changing to "Page url providers" did also not remove the wrong/mixed path,
but it actualy added a new issue to the mix, that I now can't remove again

the previos path (a correct one, and the one google knows)
/produkter/tvangsblander/300-l-tvangsblander
is now changed to
/produkter/300-l-tvangsblander
the group has disappeared
(the url with group still works, but is not given in links anymore)

I changed everyting back and even recycled the site,
but still no group in the path.
 

 

Recap:

Mixed path
/produkter/convoyeurs-a-bande/
this still works, and worked all the time, no matter the changes
 

Path in all languages
/produkter-1/ jumps to Norway no matter what language I start from
/produkter-2/ jumps to Sweden no matter what language I start from

on Norway and Sweden the correct path should be /Produkter/
when "Ensure unique paths for each area" is checked
 

and now - No Group in path
the product group has disappeared
It disappeared when I activatede "Page url providers" 
I activater it in DK site, but groups disapeard in all languages
and after deactivating it again, group did not return
 

(Version 9.9.8)

/Thomas

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

I think you need to get in touch with support so they can help you set things up.

 
Thomas Jensen
Reply

I thought the same thing

And I'll do that shortly

 
Thomas Jensen
Reply

Hi Nicolai

I think I found the issue
Is that not always the case, you find the fix just as you commit to making a mail to support (at least it was before I send it)
 

Group Path, was removed in template, properly because of this mix language in the path
 

"Ensure unique paths for each area" only works when "Group by master website" is NOT checked


So now Denmark, Norway, and Sweden, all have there own /Produkter/, and /Produkter-1/ gives a 404
 

The only think left is the mixed path 
/produkter/convoyeurs-a-bande/
that still "works", but it shows the correct content from the site language
and a canonical is probably fine for fixing that
 

Thanks

/Thomas

 

You must be logged in to post in the forum