News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How to use nice productdetail urls - hide /component/virtuemart/

Started by melingmeier, November 05, 2012, 16:18:57 PM

Previous topic - Next topic

melingmeier

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?
Virtuemart Version: 3.0.16 on Joomla 3.5.1; php 7

JoomJohnny5

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
There's only one remedy for mulletosis.

cas



bytelord

Hello,

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

Regards


Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

cas


bytelord

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!



PRO



for

category-name/product-name

YOU create joomla MENU links to the TOP level categories


cas

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

cas

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

gucciguy

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.

cas

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.

gucciguy

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. :)