News:

Looking for documentation? Take a look on our wiki

Main Menu

Problem with routing SEO

Started by frandevelop, May 11, 2022, 14:08:44 PM

Previous topic - Next topic

frandevelop

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



GJC Web Design

You will at the very least have to mention EXACT versions.. !
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

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
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/