Virtuemart is adding /results%2C1-0 to the url

Started by Kuubs, March 22, 2023, 09:21:22 AM

Previous topic - Next topic

Kuubs

Hello,

I am using Virtuemart 4.0.12 and Joomla 3.10.11.  When the URL of the Category is being made for some reason it adds the results 1,0 in the url. I want to not have this. How can I fix this?


I use a simple regex to remove the results form the url:

$newText = preg_replace('/\bresults\b.*$/', '', $text);

This will give trouble tho if you have a category name with results in it

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum