VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: melingmeier on November 05, 2012, 16:18:57 PM

Title: How to use nice productdetail urls - hide /component/virtuemart/
Post by: melingmeier on November 05, 2012, 16:18:57 PM
Hi,
I updated from 2.06 to 2.12f and added some new products to my shop.
All my old items can be reached over "nice" urls like www.sitename.com/productname. The new added items have a productdetail URL like www.sitename.com/component/virtuemart/category/productname-detail?Itemid=0

Is it possible to change the new urls so at least /component/virtuemart/ is hidden?
Title: Re: How to use nice productdetail urls - hide /component/virtuemart/
Post by: JoomJohnny5 on November 14, 2012, 13:23:38 PM
Did your Virtuemart SEO get disabled? 

VM --> Configuration --> Configuration --> SEO tab, and make sure "SEO disabled" is NOT checked

Also if you are using a SEF component such as AceSEF or sh404SEF, I would check all the settings and the URL details there

And then there is the Joomla SEO settings in global configuration

Many are having issues with VM2 and SEF URLS also, so be careful , you don't want to lose any nice older inbound links
Title: Re: How to use nice productdetail urls - hide /component/virtuemart/
Post by: cas on November 15, 2012, 06:27:14 AM
I have the same problem.  SEO is enabled in VM & in Global Config, but getting the ugly URL:  www.domain.com/component/virtuemart/category/productname-detail?Itemid=0

Help!
Title: Re: How to use nice productdetail urls - hide /component/virtuemart/
Post by: cas on November 16, 2012, 17:52:06 PM
Any help?
Title: Re: How to use nice productdetail urls - hide /component/virtuemart/
Post by: bytelord on November 16, 2012, 18:37:50 PM
Hello,

Under vm configuration-> SEO unselect the option  Use Product and Category IDs

Regards


Title: Re: How to use nice productdetail urls - hide /component/virtuemart/
Post by: cas on November 16, 2012, 19:08:13 PM
It was never selected.   Any other ideas? 
Title: Re: How to use nice productdetail urls - hide /component/virtuemart/
Post by: bytelord on November 16, 2012, 20:26:29 PM
Do you use any third party sef components?
Title: Re: How to use nice productdetail urls - hide /component/virtuemart/
Post by: cas on November 16, 2012, 21:40:09 PM
no.
Title: Re: How to use nice productdetail urls - hide /component/virtuemart/
Post by: cas on November 19, 2012, 21:23:45 PM
Any idea what's wrong?
Title: Re: How to use nice productdetail urls - hide /component/virtuemart/
Post by: PRO on November 19, 2012, 21:52:50 PM


for

category-name/product-name

YOU create joomla MENU links to the TOP level categories

Title: Re: How to use nice productdetail urls - hide /component/virtuemart/
Post by: cas on November 19, 2012, 22:30:57 PM
Hi Banquet,

I'm confused... are you saying we have to create menu items for all the top level categories to get rid of the /component/virtuemart in the URL?  What's the point of the VirtueMart Category module?  I am using the Category module to manage the category navigation so I don't have to build and maintain so many individual menu items. 

Thanks,
Chuck
Title: Re: How to use nice productdetail urls - hide /component/virtuemart/
Post by: cas on November 19, 2012, 23:09:36 PM
I worked around the problem by changing the 'Menu Item Type' from "VirtueMart Categories Layout" to "Category Layout".  Now the URL is correct and does not contain "/component/virtuemart".  Someone on the VM team may want to look at the "VirtueMart Categories Layout" to see why it does not work properly like the "Category Layout".

Regards,
Chuck
Title: Re: How to use nice productdetail urls - hide /component/virtuemart/
Post by: gucciguy on January 28, 2014, 19:21:45 PM
Hi Cas,can you please explain me what you did exactly?this is my first website and not very good with this,thank you in advance.
Title: Re: How to use nice productdetail urls - hide /component/virtuemart/
Post by: cas on January 29, 2014, 06:21:20 AM
Hello gucciguy,

I am referring to when you create a new Joomla menu, the first thing you do is to select the Virtuemart menu type of Category Layout.

Hope this helps.
Title: Re: How to use nice productdetail urls - hide /component/virtuemart/
Post by: gucciguy on January 29, 2014, 10:15:00 AM
Thanks Cas,this is what I did....created one a shop and now instead of component/virtuemart i now have mydomain.com/en/shop/product category/product-details,so I am happy with this menthod,I thank you for your prompt answer. :)
Title: Re: How to use nice productdetail urls - hide /component/virtuemart/
Post by: cas on January 29, 2014, 17:56:14 PM
Glad it worked!  Take care.