Please could you think about adding the product id to the end of the url
This would then achieve uniqueness for items that have the same description
Thanks Hutson, I could add the id's in. I'll look into this.
is this only for apache servers? what about lighttd servers? i have use your rooter.php but my links are still not sef
This was written the same way as the core Joomla components, so I'm not sure if Joomla SEF works with lighttd but if so it should work.
I've written my own router.php files before, wanting to create better SEO links for Virtuemart, and I've always used /product_id or /category_id, instead of just the category or product name. There are also other free SEF router files available online.
Using an id for the URL isn't a SEF URL. Google looks at the url for keywords, so that is why you need the category and product name. Also it makes it more readable for people who bookmark, & refer the link.
Just to overwrite the old file?
I don't think VirtueMart have a router file in their standard installation but if you have added one in then it's probably best to rename the current router.php file to router_bak.php then copy it in, test it and if you are happy with the results delete the router_bak.php.