News:

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

djcritch

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?

PRO

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,' ', '-');

djcritch

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?


PRO


Milbo

This is also redesigned in the upcoming patch.
Should I fix your bug, please support the VirtueMart project and become a [url=http://extensions.virtuemart.net/support/virtuemart-supporter-membership-detail]member[/url]
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/