Get a Free Quote

You will receive quote within 24 Hrs

We respect your privacy
Magento Web Development

How to Setup Magento With Multiple Stores?

By: Rushik Shah

Magento is a quick and easy eCommerce software. It is open-source and thus is free to download and customize to suit the individual requirements of any company. There are many e-commerce softwares available and there are even more options in recent times.

Almost all of them offer a great many features but those are usually additional features. As for Magento, it offers a great many features and they are all in-built. Besides this Magento also offers a great number of additional store features too. One such built-in feature of Magento is the Multi-Store setup feature.


The Multi-Store functionality of Magento can be set up in this way. It is possible to share the same set of categories in two stores or have a different set for each. While nothing is required to be done with the categories if the same set is being used if a different set is used then a new root category needs to be created. There are several other options that need to be tweaked as well.

You need to set ‘Active’ to ‘Yes’ under the general information section and ‘Is Anchor’ to ‘Yes’ under the ‘Display Settings’ tab. Then visit the admin menu option System –> Manage Stores and click on create a website button. Here you can create a new website by entering the options, once created it will be listed. Staying on the same page now hit the ‘Create Store’ button and create a new store by following the options provided. Lastly still on the same page hit the ‘Create a Store View’ button and follow the options to create a new store view. There are further configuration requirements at the FTP level as mentioned below:


1. Download the index.php file and the htaccess file from the Magento folder and copy it to the new Magento 2 folder. In case you are using a different domain name for the new store you can copy these files to the root folder of that other separate domain or map this folder as the default hosting account for the other domain.

2. You then need to edit the index.php file and make the change in the following like $image Filename = ‘app.Mage.php’; to $imageFilename = ‘’;

3. The second file to edit is the htaccess file where you need to add the following:

SetEnvif Host.*base.*MAGE_RUN_CODE = “base”; SetEnvif Host.*magento_site_2.*MAGE_RUN_TYPE=”magento 2”;


It is back to the admin panel once again after this. Go To the admin menu System –> Configuration –> General and make sure the ‘Default Config’ is selected. Click on ‘Web’ in the side menu options and set the option Auto Redirect to base URI to ‘No’ under the ‘URL options’ sections. Now change the ‘Default Config’ to that of the new website we just created. Go back to the option ‘Web’ and click on the two tabs ‘Secure’ and ‘Unsecure’. Here both the ‘Secure Base URL’ and ‘Unsecure Base_url’ need to be changed to the corresponding new domain and the ‘Use default[Store View]’ check box ned to be unchecked.

That’s it you are now set to use the multiple Magento stores. It can be quite a task to Magento multi-store setup and at times it is best to leave it to the professionals. Alakmalak has been providing Magento development services for some time now and has a great deal of expertise on the topic.

Why Choose Alakmalak As a Your Growth Partner?

Using a Magento Demo Website to Understand its FeaturesAlakmalak is a web development company in India that offers services for several technologies. There have been around for a very long time and have developed over 2500 projects for clients all around the world. They have highly skilled web developers with a great deal of experience.


  • How to configure multiple Magento storefronts?

Comments are closed.

OVER 600 Small, Medium and Large Enterprise business clients have chosen us from 35 COUNTRIES

  • Federico Bilches

    I want to thank all Alakmalak team for take my project and help me to improve my website! Thank you for your responsibility and seriousness at the time to do corrections and improvements on my website and for always be in touch with me. Highly recommended! Great team! Great company! I'm very thankful Alakmalak!

  • Frank M. Cali
    Frank M. Cali.USA

    A few kinds words to say about Alakmalak programming and design. Working with these guys is always such a great relief. You know you are getting your stuff done right and usually always in a timely fashion. I’m a middle man for the most part And my clients are always happy with the end result.

Share via
Copy link
Powered by Social Snap