#1054 – Virtuemart categories and product url from real name not from slug section.

Status: Closed - Category: Route 66
 Hello,

Is there a way to make route 66 to get url structure from real categories and product names section instead of slug.
I have to many secand level categories and product dublications with some names.

I have already using following settings:

product: {categoryPath}/{productAlias}
category: {categoryPath}

But urls are:
car/black
truck/black-1

I want to mak them like:
car/black
truck/black

Thank you.
Hi,

Your setup seems correct. According to the example URLs you provided I guess that you have a product with product alias "black-1". Virtuemart does not allow duplicate alias, so if you don't want to change your product names, you will have to add the product ID or the product SKU to the URL patterns.
I mean to try something like the following for product URL patterns:
{categoryPath}/{productId}/{productAlias}


Please let me know if that solves the issue.

Regards

 
Hi,
You are rigth, i have some sub categories with some names. I have about 25.000 products so about half of the indexed urls will goes to 404.
My live site still on joomla 3 with artio sef. It is directly convert categories names not alias so i can use urls as my example.
I wonder if it is possible for route 66 can do some structure?

Thank you.
Hi,

Route 66 does not support category names, only aliases. For your case I suggest to add the productId to your URL pattern so you avoid collisions. Alternatively, you can edit the aliased of the categories and make them look as you wish.
It's the same as using category names. If you have duplicate category names you will also have conflicts.

Regards
 
Thank you.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Note: An active subscription is required in order to get support for our paid extensions. For our free extensions, if you don't have an account, register and then submit your support request.  In case you just want to ask a question, you can also use the contact form .

Note: Our support team is currently on vacation, so please anticipate slightly longer response times. Thank you for your understanding!

Firecoders
Are you using our extensions? Please post a review at the Joomla extensions directory!
Post a review