Author Topic: 3 languages and url problem  (Read 2257 times)

Darko F.

  • Beginner
  • *
  • Posts: 15
  • Skype Name: DarkoF
  • VirtueMart Version: 3.8.4 10335 Joomla version: 3.9.24.
3 languages and url problem
« 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


There in no problem if you fall. Problem is if you don't get up

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3737
  • using Matomo instead of Google Analytics
Re: 3 languages and url problem
« Reply #1 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

Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Darko F.

  • Beginner
  • *
  • Posts: 15
  • Skype Name: DarkoF
  • VirtueMart Version: 3.8.4 10335 Joomla version: 3.9.24.
Re: 3 languages and url problem
« Reply #2 on: February 02, 2021, 10:33:21 am »
Hi
My solution to this was in SEO Settings -> Strict mode -> unchecked

Maybe find somebody useful.
There in no problem if you fall. Problem is if you don't get up