Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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?
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:
System > Config > General > Web
Required, but never shown