Multi-Store Setup with Sub-Directory on Nginx PHP-FPM

multistorenginx

I have an EC-2 instance on AWS with NGINX and PHP-FPM running Magento 1.9

The need arose to create a multi store system using a sub directory.

mydomain.com = default store
mydomain.com/teen = teen store

How do I set?

Best Answer

To emulate a subdirectory you don't need to actually create a subdirectory on the filesystem. Instead you need to enable the store code in the url in System > Config > General > Web:

enter image description here

Related Topic