Quote:
Originally Posted by tony_sologubov
@mohammadUMAR,
1) I just talked to the team and we come up with the following solution for SEO-friendly URLs:
We will remove category_id parameter from the URL if a product is assigned to a single category. If it is assigned to multiple categories, this parameter (category_id) will still be added in order to allow breadcrumbs and next/previous product links work properly.
Tony
|
I don't think this is the best approach. Perhaps instead there should be a primary category, and the additional categories.
For instance, we have a product that is primarily associated with a single category. However, it is also in a category for products approved for a certain geographical region. The primary category should create the cleanURL, but that product should be able to be accessed from additional categories.
It's very rare we have a product in only one category.
Before 5.2.5 it use to dynamically assign a URL based on whatever category it was accessed from. Not sure if this is best practice, but it was far more user-friendly.