Create multiple store in magento

You can create multiple store in magento, just in a minute.

1) System > Manage stores

2) create website

-> example1.com and example2.com

3) Create root categories using ‘catalog > manage categories’ for these respective website individually.

4) While creating website, you must assing the respective root categories.

5) Create respetive store group and store view of these website.

6) In system > configuration > design

From the left, select the respective website,

In the General tab of configuration,

In the web section of general,

please put the respective ‘secure baseurl’ and ‘unsecurel baseurl’ like example1.com and example2.com

From design section,

Please select the respective design for your website.

7) In htaccess,

SetEnvIf Host www\.example1\.com MAGE_RUN_CODE=example2
SetEnvIf Host www\.example1\.com MAGE_RUN_TYPE=website
SetEnvIf Host example1\.com MAGE_RUN_CODE=example2

SetEnvIf Host example1\.com MAGE_RUN_TYPE=website

Changing within the same website, using store

SetEnvIf Host www\.example1\.com MAGE_RUN_CODE=english

SetEnvIf Host www\.example1\.com MAGE_RUN_TYPE=store
EnvIf Host ^example1\.com MAGE_RUN_CODE=english

SetEnvIf Host ^example1\.com MAGE_RUN_TYPE=store

8) You are ready to go.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s