Hi,

Quote Originally Posted by Jerry5763837 View Post
many thanks for your great mod! really.
we are using 4.08 on 1.39h with multi-languages. so the problem is that,
how to set the rewirte rules in .htaccess file for sub-folder installation?

as we want to use www.aaa.com(installed in root folder) for english, and www.aaa.com/sub-folder/ for french

appreciated again
Glad you like the software.

I'm not entirely clear on what it is you want to do.. do you have two stores, one for each language, or simply one store with two different languages?

If it is the latter, then you simply adjust the URIs as you enter them for the categories/products. E.g., for products, simply add "/sub-folder/" to the start of the "French" URI Mapping for each product/category etc. (I like to have site.com/fr/xxxxx for example, that's how our aarck/aawe software works and is how all language sites should work in my opinion).

If your question is about the former, then you can simply have a rewrite rule for each store in the root's .htaccess file, but add an exclusion for the /sub-folder/ to the first rewrite rule so that it "falls over" to the second rule. Or you can make sure the first rule only applies for the second, sub-folder (French) store and "falls back" to the first rule for the root/English language store.

Certainly, I can say that what you want to do in supporting multiple languages is indeed doable with the software (a fact which is one of the software's strengths!).

All the best..

Conor
ceon