Multistore installation with subfolders

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 yıl önce
Hi,

i want to have a multistore configuration like:

www.mystore.com/store1
www.mystore.com/store2
www.mystore.com/store3

but i wasn't able to get it work.

Does nop multistore only supports subdomain configuration? Like:

store1.mystore.com
store2.mystore.com
store3.mystore.com

Looking at the source code it seems that the multistore functionality looks at the "HTTP_HOST" server variable, and it matches with the configured "HOST values" in the store configuration.

HTTP_HOST returns only the domain (like www.mystore.com, or store1.mystore.com), so i think that the multistore is only able to work with subdomains, am i right?
11 yıl önce
olandese wrote:

Does nop multistore only supports subdomain configuration? Like:

store1.mystore.com
store2.mystore.com
store3.mystore.com

Looking at the source code it seems that the multistore functionality looks at the "HTTP_HOST" server variable, and it matches with the configured "HOST values" in the store configuration.

HTTP_HOST returns only the domain (like www.mystore.com, or store1.mystore.com), so i think that the multistore is only able to work with subdomains, am i right?

Yes
11 yıl önce
olandese wrote:
Hi,

i want to have a multistore configuration like:

www.mystore.com/store1
www.mystore.com/store2
www.mystore.com/store3

but i wasn't able to get it work.

Does nop multistore only supports subdomain configuration? Like:

store1.mystore.com
store2.mystore.com
store3.mystore.com

Looking at the source code it seems that the multistore functionality looks at the "HTTP_HOST" server variable, and it matches with the configured "HOST values" in the store configuration.

HTTP_HOST returns only the domain (like www.mystore.com, or store1.mystore.com), so i think that the multistore is only able to work with subdomains, am i right?


It doesn't support to work with virtual directories but will work fine with domains and sub domains.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.