VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: sandomatyas on October 13, 2016, 16:09:33 PM

Title: Product URL without category and menu alias
Post by: sandomatyas on October 13, 2016, 16:09:33 PM
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
Title: Re: Product URL without category and menu alias
Post by: sandomatyas on October 13, 2016, 16:52:47 PM
Hm. If VM frontpage menu item is the home everythings seems better. Could it be the simple solution?
Title: Re: Product URL without category and menu alias
Post by: Milbo on October 14, 2016, 14:47:17 PM
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.