I am creating multiple stores in magento on wamp .
I have used following steps.
- Create category for new store.
- Create website for new store.
- create store view for new store.
- created new folder in magento for store and copy paste index.php and .htaccess file.
- Edited in index.php changed
$mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : '';
$mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store';
Mage::run($mageRunCode, $mageRunType); to Mage::run('store1', 'website');
where store1 is our new store .
- I have changed url under web in admin section
http:localhost/magento/store1
for new store Changed in index.php app/mage.php to ../app/mage.php.
but giving error
c:\wamp\www\magento\store1../app/Mage.php was not found
I am using http://localhost/magento/store1/
for new store.