VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: Kuubs on March 22, 2023, 09:21:22 AM

Title: Virtuemart is adding /results%2C1-0 to the url
Post by: Kuubs on March 22, 2023, 09:21:22 AM
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
Title: Re: Virtuemart is adding /results%2C1-0 to the url
Post by: jenkinhill on March 22, 2023, 11:53:11 AM
http://forum.virtuemart.net/index.php?topic=149683.msg534832#msg534832