nicolas wrote: The URL "domain.de/wasser" is like that because the alias of the menu item used for that URL is "wasser".
I suppose that your "wasser" category is selected as the "main category" of the "wasser" menu item.
Yes, is it wrong workflow?
I created for every product category an equal menu item.
Every product inside its category should automatically be shown with a "logical" url scheme.
The workaround with the category canonical url works. But ... it's a workaround.
nicolas wrote: However, you might have several menu items for that same category.
No. Exact one menu item for one product category.
nicolas wrote: Also, suppose that you have a menu item "shop", and this displays a listing of categories. And for the "wasser" category, the URL is "domain.de/shop/wasser" where "shop" is the alias of the menu, and "wasser" is the alias of the category. The module can't match the category with the "main category" of the menu item, and it's not evident that the parent category of that category is selected in the "main category" of the menu item.
No. I do not use any pseudo shop category or shop menu item.
nicolas wrote: Now, we've made a mechanism so that you can tell the system which URL you want to use for each category. For that, you want to enter the URL you want in the "canonical URL" of each category. Then, activate the "force canonical URLs on listings" setting of the HikaShop configuration. And now, your module will switch to the canonical URL instead of trying to generate the URL itself and you'll get the URLs you want.
As I said above. It works ... as a workaround.
nicolas wrote: You actually have the same mechanism for products. And having a canonical URL for your categories and products is not only nice to get consistent URLs for your users, it's also good for the SEO of your website.
Hm ... this doesn't work. I tested it with one product. But there are two problems:
a) I guess you have to type in the product category (or menu item?) AND the product url (which is ... mostly or "everytime" the same like the alias).
b) Even if I do this, the product page is not accessible. In the category view (or products listing view) I see the following (correct) url: "domain.de/category/product" - but if I click it, nothing happens.
Nethertheless - this is absolutely unuseable for the "main user"!
Is there any way to configure the system to work like Joomla's default url routing system - automatically (without manual changing)?
If I create a category in Joomla und put some articles inside this category and link a menu item to this category, all articles automatically will be shown with the correct url, like "
www.domain.de/category/article
". The same system should work for the shop. How to achive this?
Cheers