Please help to remove product-detail's detail

Started by hsiehd, May 28, 2012, 01:59:16 AM

Previous topic - Next topic

hsiehd

Hi all,
  I new bible in VM2.
  I have a problem with the URL of the products and can not find anything to resolve it.
  The problem is the following:

  When I enter any item in the store the URL goes like this http://feronianature.com/lavender-essential-oil-bulgaria-detail.html I want to leave just the product name something like  http://feronianature.com/lavender-essential-oil-bulgaria.html all that.
How to setup Menu item to be assigned to VM?
Please advice

Thanks

David

sadrem

not possible.
U only may change detail to something else
p.s. Do not forget to change message icon to Solved.

Milbo

hsiehd,

from the SEO point it is better to have a -detail as suffix then always the category in at begin. With this technic we avoid doubled URLS for products in different categories, which has really a worse impact on SEO.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jjk

#3
Quote from: sadrem on May 28, 2012, 08:38:06 AM
not possible.
U only may change detail to something else

This is not entirely correct in your case. As Milbo said, Virtuemart 2 adds a suffix '-detail' to the url by default. You can change that in the Virtuemart configuration SEO settings to something else, but if you would leave that field blank, VM2 would not find the product in several cases.

In order to get rid of your '-html' in '-detail-html' you need to disable 'Adds Suffix to URL' in the Joomla Global Configuration - SEO Settings.
Afterwards your URL should look like this: http://feronianature.com/lavender-essential-oil-bulgaria-detail
The search engines don't need a 'html' or 'htm' suffix, which is why you can disable it in Joomla.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

atrus

Hi to all,

The -details suffix should be able to be removed from the url, it really isn't that necessary.

The best way to avoid duplicate urls when a product is in more than 1 categories, is simply not to include the category name in the url. So the url should be:

http://www.yoursite.com/product_name

Above is basic stuff and can be easily achieved by all commercial SEF components. We hope to see these features in VM2 soon, as we still have to use a 3rd part sef component, altough we really believe the VM2 integrated seo solution.

Looking forward to your comments.

jjk

#5
In my case I absolutely need the category name in my URL! Otherwise I would have to split the shop into at least 8 seperate shops just for SEO reasons. VM2 needs a suffix to tell the system that it is on a product details page, because it has to distinguish between a category and a product page. For example, imagine you have a category "pink shorts" and also a product page named "pink shorts". So you need something in the URL to seperate the two. The -details at the end doesn't hurt your SEO, but if you don't like it, you can change it i.e. to -htm, -html, .php or something slightly more creative like -shop or -gift, if you disable the "Add Suffix to URL" in Joomla configuration. (Search engines don't need a suffix, but crawl them)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations