News:

Support the VirtueMart project and become a member

Main Menu

Product URL without category and menu alias

Started by sandomatyas, October 13, 2016, 16:09:33 PM

Previous topic - Next topic

sandomatyas

One of my customer sells ~1000 products with different aliases and wants as short product urls as possible with html suffix.
Like:
http://mysite.com/product-slug-1.html
http://mysite.com/product-slug-2.html
I can disable the category alias in product url (VM settings, SEO tab), I can enable html suffix (Joomla global settings). My only problem is that Joomla puts the menu item into the url like:
http://mysite.com/webshop/product-slug-1.html
http://mysite.com/webshop/product-slug-2.html

Is there a way to remove this? A third-party software could be a solution, too, if it can do it automatically and I don't have to set the product url's manually.
But core solution would be the best.

Joomla 3.6.2 + VM 3.0.18

sandomatyas

Hm. If VM frontpage menu item is the home everythings seems better. Could it be the simple solution?

Milbo

the homepage menu item is not displayed in the link, so yes. but when you create a menuitem with the corresponding categoryId, it will be displayed.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/