For our Magento webshop (22.214.171.124), we're trying to optimize the URL structure. We've already managed to improve some things, but in one things we didn't succeed. We want to use a full URL (including categories) for all of our products. For example:
- or: www.website.com/products/best-products for a category page
This works fine when browsing through the categories and using the breadcrumbs, but not when searching. It then always uses www.website.com/product as URL, most likely because a product can be in multiple categories and it doesn't know which category to use in the search results.
Is there a way to force this? To make it somehow use the "first" category, or even make it use some default category that you can pick? I'm a developer, so I'm willing to make changes to the code, but only if there isn't another/more reliable way. Any tips or tricks are welcome, many thanks in advance!