VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: Darko F. on November 09, 2020, 13:08:00 PM

Title: 3 languages and url problem
Post by: Darko F. on November 09, 2020, 13:08:00 PM
Hi all, I have different problem, but might be connected with this discussion.

I have strange problems with url and i can't resolve by myself.

Structure of my webpage is following:
3 language.
1 hidden menu with language All - Top level category.

Public not hidden, 1 Joomla menus with virtuemart categories and subcategories for each language. (Shop, wines, red wine).
All others menu is joomla menu item alias connected to this menu as AH suggested.

Joomla menus categories alias are
Shop
- Vine
-- Red wine

Virtuemart product categories slug alias are:
vm-shop
- vm-wines
-- vm-red-wines (at product setting use these as canonical category)

Normal desired tree URL is and work most of the time.
/shop/wine/red-wine

But sometimes url appears as:
/shop/wine/red-wine/vm-shop/vm-wines/vm-red-wines
also canonicals appear as such, and google start index these

I try to resolve this wit htaccess, but is so difficult to do it with new product added constantly, please look live example here:
https://tuamv.com/shop/liquor/wines/red

And also wrong one
https://tuamv.com/shop/liquor/wines/red/vm-shop/vm-liquor/vm-wines/vm-red

Is so bad for SEO and start affecting my search positions, please for any advice.

Thank you


Title: Re: 3 languages and url problem
Post by: jjk on December 19, 2020, 12:39:25 PM
Looking at the links contained on the 'wrong' page there are vm-shop links, but I don't see where these are generated.
Something I would try is:
Temporarily disable jchoptimze
Clear all caches in Joomla and jchoptimize (maybe check the size of the jchoptimize cache first - as far as I know it can become pretty huge)
In the Joomla menu administration click on the 'Rebuild Menus' button

Title: Re: 3 languages and url problem
Post by: Darko F. on February 02, 2021, 10:33:21 AM
Hi
My solution to this was in SEO Settings -> Strict mode -> unchecked

Maybe find somebody useful.