Magento 1.9 Multistore – Problem with Multiple Stores

magento-1.9multistore

I am trying to setup multi store in Magento 1.9.2.3, and here is what I have done so far (in the scenario I am trying to create another store for France and call it "FR"):

1) Creating a new root Catalog,

2) Creating a new Website/Store/StoreView in System >> Manage Stores

3) Creating a new directory called "fr" in magento root folder and I have copied "Index.php" and ".htaccess" file from magento root to "fr" folder.

4) I have edited the "index.php" file inside "fr" folder from

$mageFilename = MAGENTO_ROOT . '/app/Mage.php';

TO

$mageFilename = '../app/Mage.php';

5) and I have added below code into the ".htaccess" of "fr" folder:

SetEnvIf Host .*base.* MAGE_RUN_CODE="base";

SetEnvIf Host .*magento_site_2.* MAGE_RUN_TYPE="fr";

I have also set the "Auto-redirect to Base URL" to disabled in the admin panel, and set the "secure" and "Not-secure" base url for "fr" store accordingly.

The Problem is, when I try to access the new store by going to www.example.com/fr/, I can see the exact same website with all the products and categories that are available in www.example.com. It does not feel like a new empty store.

Best Answer

Marius has explained this scenario perfectly here: Multi-website multi-store set-up


Just ensure that you have assigned your root (catalog) category correct in website configuration.

Related Topic