VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: frandevelop on May 11, 2022, 14:08:44 PM

Title: Problem with routing SEO
Post by: frandevelop on May 11, 2022, 14:08:44 PM
I have a strange problem with routing.

On the web there is a special casuistry, the same category must be displayed in several submenus.

Equipments
       ->Hospitals
              ->Lockers
museums
       ->Hospitals
              ->Lockers
If the SEO of virtuemart is active, the urls are displayed correctly, but with the SEO active, the routing becomes a mess and shows the wrong route.

I can make 10 submenus, that the SEO route will always show /museums/

Equipments
       ->Hospitals
              ->Lockers <--- Museums
museums
       ->Hospitals
              ->Lockers <--- Museums

Could it be that virtuemart's routing code selects the first menu item that matches the category and doesn't check if it's correct?

Thanks


Title: Re: Problem with routing SEO
Post by: GJC Web Design on May 13, 2022, 12:47:36 PM
You will at the very least have to mention EXACT versions.. !
Title: Re: Problem with routing SEO
Post by: Milbo on June 20, 2022, 20:23:08 PM
We can assume, at least with j4. J4 has a lot routing bugs. I dont know the reason yet. Sometimes our router is just not called and cannot work