Looking for documentation? Take a look on our wiki

Main Menu

3rd level category creates a non sef URL ?

Started by djcritch, January 09, 2012, 00:08:52 AM

Previous topic - Next topic


3rd level category creates a non sef URL ?

when seo settings are switched on third level categories give me a url like this: /cat-level-1/cat-level-2/2012-01-07-00-28-178

The Sef Alias cannot be over written at this level :-(

is there a way around this?


backup first, then run these 2 sql

this will also do all categories, so dont do it unless u dont mind some cats changing

update jos_virtuemart_categories_en_gb set slug = category_name

THEN, you need to change the "space" to a "-"

update jos_virtuemart_categories_en_gb set slug = replace(slug,' ', '-');


Thanks for this fix!

I presume that i will need to run these lines of sql every time i add a new 3rd level category though?

is there a more permanent fix other then this?



This is also redesigned in the upcoming patch.
Should I fix your bug, please support the VirtueMart project and become a [url=]member[/url]
Extensions approved by the core team: