Add new folder basic store

Magento is much popular for it’s multiple store management.
For creating a folder basic store go to your root folder and create a folder “example” and then copy index.php and .htaccess to it
Now search this code from index.php

$mageFilename = 'app/Mage.php';
/**and**/
umask(0);
Mage::run();

Then replace this code

$mageFilename = '../app/Mage.php';
umask(0);
Mage::run('example','website');

First lines find the path of Mage which is default like main website.
and third line will find out the newly created website. Here the most important things to keep mind that the website name must be same as the folder name.

Now Go to systm->manage store
and then click “create website” from right top corner.
then fill up the information but u must remain that the code name must be same as the folder name.
Then click “create store” from the right corner to create a store and also same procedure to create a view.

Advertisements

One thought on “Add new folder basic store

  1. Kenn December 18, 2009 at 3:01 am

    Thanks for the info on Magento, will check it out!

    Kenn

Comments are closed.

%d bloggers like this: