News:

Support the VirtueMart project and become a member

Main Menu

Alias category doesn't work

Started by frogybella, September 17, 2014, 14:06:16 PM

Previous topic - Next topic

frogybella

Good afternoon,

I have trouble with the category alias in virtuemart 2.6.8.
To reach a category I would like the link to be www.mywebsite/alias.html.
If I do that I have a 404 error.
If I put the title of the category it works.
Does anybody know why and how to correct that?

Thanks in advance.

Virginie
Frogybella

My website : www.fdbi.com

jjk

#1
VirtueMart doesn't add a suffix to category names by default. You should leave it away. The search engines like Google don't need a suffix and ignore it anyway. In other words, it's useless.
If you try to force it somehow, it will create problems for the Joomla and VirtueMart routers (which build the SEF urls).  One thing you can do, is to replace the VirtueMart SEO suffix -detail in the VirtueMart configuration with .html for the product detail pages. (With your idea you would end up with urls like ...domainname/categoryname/.html/productname.html, which won't work)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations