Shop Category URL

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
on_edge
Posts: 2
Joined: 29 Jun 2022, 15:32

Shop Category URL

Post by on_edge » 29 Jun 2022, 15:36

I am testing out Aimeos for the first time and have some custom products added and categories assigned. However, when I view a category on the front of the site it shows the URL as "/shop/Books~15". How do I remove the "~15" from the URL?

User avatar
aimeos
Administrator
Posts: 8636
Joined: 01 Jan 1970, 00:00

Re: Shop Category URL

Post by aimeos » 30 Jun 2022, 12:52

That's difficult because it's the unique ID to find the category. Otherwise, all category names must be unique.
For SEO, this is no problem that the ID is included in the URL.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

on_edge
Posts: 2
Joined: 29 Jun 2022, 15:32

Re: Shop Category URL

Post by on_edge » 30 Jun 2022, 21:51

I appreciate the response. However, the client is coming from WordPress and all of the category names are unique. I am confused trying to think of an instance of when the category name wouldn't be unique. Maybe I am misunderstanding.

User avatar
aimeos
Administrator
Posts: 8636
Joined: 01 Jan 1970, 00:00

Re: Shop Category URL

Post by aimeos » 01 Jul 2022, 09:16

In Wordpress everything is a page and must have a unique URL. In Aimeos category codes must be unique but the URL (name) may not because it can be chosen by the editor. This is especially true if you have a category tree with different parent category names but the same child categories, e.g. "Shoes > Pumps > Flat" and "Shoes > Sandals > Flat".
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply