browse to store using subdomain

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 3 ans
Hello,
I have a site with multiple stores.
Is there away to configure nopcommerce so store is browsed using subdomain?
Something like:
www.mydomain.com/store-name ==> shows store named 'store-name'
or
www.mydomain.com?store=store-name ==> shows store named 'store-name'

If this requires development?

Thank you
Il y a 3 ans
roishabtai wrote:
www.mydomain.com/store-name ==> shows store named 'store-name'

No it is not possible to actaully have subdirectories
But stores can be subdomains
store1.yourwebsite.com
store2.yourwebsite.com, etc

So with some customisation you could do this via some routing  
www.mydomain.com?store=store-name ==> shows store named 'store-name'
www.mydomain.com?Store=store1 ==> store1.yourwebsite.com
www.mydomain.com?Store=store2 ==> store2.yourwebsite.com
Il y a 3 ans
Thank you for reply
what is the required config to get the sub domains to work?
Can you send me the the proper location incode/documentation please?
Il y a 3 ans
https://docs.nopcommerce.com/en/getting-started/advanced-configuration/multi-store.html
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.