VirtueMart 2 + 3 > Security (https) / Performance / SEO, SEF, URLs

3rd level category creates a non sef URL ?


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?

no, u shouldnt,

This is also redesigned in the upcoming patch.


[0] Message Index

Go to full version