News:

Looking for documentation? Take a look on our wiki

Main Menu

Wrong url for children

Started by Miku, April 07, 2015, 14:55:39 PM

Previous topic - Next topic

Miku

How to recreate the bug:
1. Go to some category e.g. www.mysite.com/myonlinestore/category1
then
2. Go to a category where we have a product with generic child variant e.g. www.mysite.com/myonlinestore/category2 Choose one of the variants from the category view or go to a parent product details and then do the same thing..

Result?

In url we have something like www.mysite.com/myonlinestore/category1/the_name_of_the-children
instead of
www.mysite.com/myonlinestore/category2/the_name_of_the-children

So the url, breadcrumb and menu indication (active menu) are unproper.

J.3.4.1
VM 3.0.7

Milbo

No, it just uses the canonical link. This is for Seo, always think about for who is the link. Not your shoppers will take a close look on it. So for search engines it is better to display directly the canonical link.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Miku

#2
Hmm... I don't get it. If url shows wrong path it has something to do with canonical link? Let's consider another example.
We are here:
1. http://www.mywebsite.com/product-catalogue/bikes

then we go directly do to another category (in fact it's a subcategory)
2. http://www.mywebsite.com/product-catalogue/cars/audi

In this subcategory we have, let's say audi A6 with children, we choose one of them and then we have:
3. http://www.mywebsite.com/product-catalogue/bikes/audi_a6_red_child

Maybe the fact that we go directly to a subcategory has a meaning because when I go through the following steps the issue does not occur (we go to parent category and then to the subcategory, not directly to a subcategory):

1. http://www.mywebsite.com/product-catalogue/bikes
2. http://www.mywebsite.com/product-catalogue/cars
3. http://www.mywebsite.com/product-catalogue/cars/audi

And the final step  - we choose red audi and we have correct

4. http://www.mywebsite.com/product-catalogue/cars/audi/audi_a6_red_child

Miku

Could someone please take time to check this instance? It will take a while... Just choose a category, then go directly to some subcategory where you have a product with children. Select one of the children or go to a parent product details and then do the same thing. Is the url correct? Maybe it's not so important thing (as Milbo said shoppers did pay attention to url and breadcrumbs) but it's a little bit misleading when you have a highlighted side menu and you see that during reviewing one of the children from 'cars' category the 'bikes' menu item is highlighted for example.
If it is indeed a SEO question I'm sorry this post.

Milbo

Quote from: Miku on April 07, 2015, 19:09:22 PM
then we go directly do to another category (in fact it's a subcategory)
2. http://www.mywebsite.com/product-catalogue/cars/audi

Intersting, how you do that? by category module?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Miku

#5
Quote from: Milbo on April 09, 2015, 13:07:23 PM
Intersting, how you do that? by category module?
Fairly easy  ;) making use of 3 level menu (sub-menu item is assign to VM subcategory)  Something like this in attachment. So we click directly on this submenu link and we are in subcategory...