{"id":22402,"date":"2019-06-18T17:16:20","date_gmt":"2019-06-18T15:16:20","guid":{"rendered":"https:\/\/belvg.com\/blog\/?p=22402"},"modified":"2023-10-31T19:04:37","modified_gmt":"2023-10-31T17:04:37","slug":"how-to-set-up-magento-2-multi-stores","status":"publish","type":"post","link":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-2-multi-stores.html","title":{"rendered":"How to Set up Magento 2 Multi Stores"},"content":{"rendered":"\n<p>Do you want to manage multiple websites and online stores in Magento? With the in-built multi-store functionality, there is nothing easier. Read and learn how to work with Magento multistore.<\/p>\n<p><!--more--><\/p>\n<p>Magento is an amazing platform that can fulfill the dynamic needs of large, middle and small ecommerce businesses all over the world. Magento has a great variety of advantages and benefits over other platforms. It is highly adaptable, extensible and user-friendly.<\/p>\n<p>There is a wonderful functionality in Magento that allows it to stand out among the competing platforms &ndash; the ability to manage Magento multiple stores through a single platform. In this article, we focus on all the ins and outs of this feature.<\/p>\n<p>Magento offers a built-in feature to manage multiple sites with a single platform. This is perfect for store owners who own or manage multiple Magento installations and want them all on a single platform. The feature grants them a single admin panel to view and control these ecommerce sites.<\/p>\n<p>In this article, we will speak about multi store ecommerce, learn about Magento multi stores and their structure. Do you know how to set up multiple websites in Magento? Do you want to learn how to change the default store in Magento and how to configure multiple stores in Magento? All you need is to read our article.<\/p>\n<p>In addition, you will learn about the different advantages and disadvantages of Magento multi store. And finally, we will consider some problems with Magento multi store feature and find the perfect solution to them.<\/p>\n<p><strong>Table of contents:<\/strong><\/p>\n<p><a href=\"#step_1\">Why does your business need multi store<br>\n<\/a><a href=\"#step_2\">What is Magento multistore<br>\n<\/a><a href=\"#step_3\">How to set up multiple websites in Magento<br>\n<\/a><a href=\"#step_4\">How to configure Magento multiple stores &ndash; four methods<br>\n<\/a><a href=\"#step_5\">What are the advantages and disadvantages of Magento multistore<br>\n<\/a><a href=\"#step_6\">Magento multistore feature: problems and solutions<\/a><\/p>\n<h2 id=\"step_1\">Why does your business need multi store?<\/h2>\n<p>How well do you know what multi-store is? Is it different from a single store? Let&rsquo;s find out what a multi-store is.<\/p>\n<p>First of all, a multi-store is several stores sharing one or several parts of the cart system. This cart system allows customers to find and buy products and services on the Internet. It is perfect for any business on the international markets.<\/p>\n<p>Secondly, a multi store includes several stores on one domain. It will be possible to sell in different places at the same time. It is very convenient, money and time-consuming.<\/p>\n<p>Then, a multi store is several independent stores (with different domains, skin, shipping, etc.) sharing a common shopping cart. It is a good solution for independent stores to have a common shopping cart which allows to start selling online immediately.<\/p>\n<p>Finally, a multi store is a multi-vendor shopping cart. The advantages of a multi-vendor shopping cart are:<\/p>\n<ol>\n<li>It allows different vendors to sell and manage their products in a single place with a common storefront and product catalog<\/li>\n<li>It saves your time and money<\/li>\n<li>It is easy to build an online marketplace<\/li>\n<li>It is fast and easy to configure payment and shipping methods, change settings and products, control of what is added to the product catalog.<\/li>\n<\/ol>\n<p>Now, let us explore deeper into the nature of multi stores and focus on the hierarchy of Magento 2 multiple stores.<\/p>\n<div class=\"module_in_content_container\"><a href=\"https:\/\/belvg.com\/migration-to-magento-2\" class=\"link_to_module\" target=\"_blank\" rel=\"noopener\"><\/a><div class=\"module_content\"><img src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/migration-to-magento-2.png\" width=\"100\" height=\"100\" alt=\"migration to magento 2\" class=\"module_image\" title=\"How to Set up Magento 2 Multi Stores\"><div class=\"module_content_part\"><h3 class=\"title\">Magento 2 Migration<\/h3><p class=\"module_content_text\">Take your online store to the next level with BelVG Magento migration<\/p><a href=\"https:\/\/belvg.com\/migration-to-magento-2\" class=\"link_2_to_module\" target=\"_blank\" style=\"display:inline-block\" rel=\"noopener\"><span class=\"read-more\">Visit the page<\/span><\/a><\/div><\/div><\/div>\n<h2 id=\"step_2\">What is Magento multistore?<\/h2>\n<p>Before we address the process of setting Magento multiple stores, it is vital to have a clear understanding of multi store structure in Magento.<\/p>\n<h3>Magento Websites<\/h3>\n<p>As you install Magento, you get to operate only one website, which by default is called the &ldquo;Main Website&rdquo;. A store owner can also set up several websites for a single installation, each of which has its own IP address and domain.<\/p>\n<h3>Magento&nbsp;Stores<\/h3>\n<p>One website can have several stores, each with its own main menu. Shops have the same product catalog, but may differ in a variety of products and store design. All stores under one website have the same administrator and cashier.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/magento-multistore-structure.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22403\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/magento-multistore-structure.png\" alt=\"magento multistore structure\" width=\"1600\" height=\"576\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<h3>Magento&nbsp;Store Views<\/h3>\n<p>Each store, which is available to customers, is represented in accordance with a certain &ldquo;type&rdquo;. Initially, the store has one default view. Additional store views can be added to support different languages &#8203;&#8203;or for other purposes. Customers can use the language selection in the header to change the store view.<\/p>\n<p>In a nutshell, the largest entity is a Magento website that can incorporate several Magento stores. Magento stores, in their turn, can consist of a number of Magento store views.<\/p>\n<p>Now, let us proceed to the more technical aspects, in particular &ndash; how to work with Magento multistore, how to set them up and configure.<\/p>\n<h2 id=\"step_3\">How to set up multiple websites in Magento<\/h2>\n<p><strong>Step #0<\/strong>: set unique identifiers for Magento website and store<\/p>\n<p>Each website and store must have a unique identifier, which is required to set up the variables <strong>MAGE_RUN_TYPE<\/strong> and <strong>MAGE_RUN_CODE<\/strong>.<\/p>\n<p><strong>MAGE_RUN_TYPE<\/strong> can have two values:<\/p>\n<ul>\n<li>website is needed to download the website,<\/li>\n<li>store to load the store view.<\/li>\n<\/ul>\n<p><strong>MAGE_RUN_CODE<\/strong> is a unique website or site code.<\/p>\n<p><strong>Step #1<\/strong>: create a root category.<\/p>\n<p>NB! Each can have a separate root category, which allows you to have a completely different set of main menu options for each store.<\/p>\n<p>Navigate to <strong>Catalog<\/strong> -&gt; <strong>Categories<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/catalog-category.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22404\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/catalog-category.png\" alt=\"catalog category magento\" width=\"448\" height=\"338\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p>Press <strong>Add Root Category<\/strong> button.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/add-root-category.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22405\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/add-root-category.png\" alt=\"add root category\" width=\"1750\" height=\"344\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p>Enter a unique root category name into the corresponding field and press <strong>Save<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/root-category-settings.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22406\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/root-category-settings.png\" alt=\"root category settings\" width=\"965\" height=\"280\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p><strong>Step #2<\/strong>: create a new website.<\/p>\n<p>Navigate to <strong>Stores<\/strong>&nbsp;-&gt; <strong>Settings<\/strong>&nbsp;-&gt; <strong>All Stores<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-all-stores.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22407\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-all-stores.png\" alt=\"stores all stores magento\" width=\"850\" height=\"355\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p>Press <strong>Create Website<\/strong> button.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/create-webstore.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22408\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/create-webstore.png\" alt=\"create webstore\" width=\"680\" height=\"246\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p>Fill in the following fields:<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-info.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22409\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-info.png\" alt=\"website info\" width=\"1342\" height=\"580\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<ul>\n<li><strong>Name<\/strong> of the new website<\/li>\n<li><strong>Code<\/strong> &ndash; a unique identifier of the website<\/li>\n<li><strong>Sort Order<\/strong> &ndash; the priority of the new website.<\/li>\n<\/ul>\n<p>Press the <strong>Save Web Site<\/strong> button.<\/p>\n<p><strong>Step #3<\/strong>: create a new web store.<\/p>\n<p>Go to <strong>Stores<\/strong> &gt; <strong>Settings<\/strong> &gt; <strong>All Stores<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-all-stores.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22407\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-all-stores.png\" alt=\"stores all stores magento\" width=\"850\" height=\"355\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p>Press<strong> Create Store<\/strong> button.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/create-webstore.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22408\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/create-webstore.png\" alt=\"create webstore\" width=\"680\" height=\"246\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p>Complete the following settings:<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-setting.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22410\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-setting.png\" alt=\"stores setting\" width=\"1761\" height=\"619\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<ul>\n<li><strong>Web Site<\/strong> &ndash; what website the store will belong to<\/li>\n<li><strong>Name<\/strong> &ndash; the name of the new web store<\/li>\n<li><strong>Code<\/strong> &ndash; code identifier of the website<\/li>\n<li><strong>Root Category<\/strong> &ndash; the root category the store will belong to<\/li>\n<\/ul>\n<p>Press <strong>Save Store<\/strong> button.<\/p>\n<p><strong>Step #4<\/strong>: create <strong>Store View<\/strong>.<\/p>\n<p>Navigate to <strong>Stores<\/strong> -&gt; <strong>Settings<\/strong> -&gt; <strong>All Stores<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-all-stores.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22407\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-all-stores.png\" alt=\"stores all stores magento\" width=\"850\" height=\"355\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p>Press <strong>Create Store View<\/strong> button.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/create-webstore.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22408\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/create-webstore.png\" alt=\"create webstore\" width=\"680\" height=\"246\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p>Complete the following settings:<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/store-view-info.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22411\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/store-view-info.png\" alt=\"store view info\" width=\"1772\" height=\"707\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<ul>\n<li>Store &ndash; what website the store will belong to<\/li>\n<li>Name &ndash; the name of the new web store<\/li>\n<li>Code &ndash; code identifier of the website<\/li>\n<li>Status &ndash; enable or disable the store view<\/li>\n<li>Sort Order &ndash; the priority of the new store view<\/li>\n<\/ul>\n<p>Press <strong>Save Store View<\/strong>.<\/p>\n<h2 id=\"step_4\">How to configure Magento multiple stores<\/h2>\n<p>There are several ways how to Magento configure multiple stores, suitable for store admins and Magento technical specialists. In this paragraph, we will describe all the possible methods.<\/p>\n<h3>Method #1: How to configure Magento multiple stores via admin panel<\/h3>\n<p>There are also several additional multistore configurations that will certainly prove useful and must be described along with the creation methods.<\/p>\n<h4>How to change Magento website URL<\/h4>\n<p><strong>Step #1<\/strong>: navigate to <strong>Stores<\/strong> -&gt; <strong>Settings<\/strong> -&gt; <strong>Configuration<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-settings-configuration.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22412\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-settings-configuration.png\" alt=\"stores settings configuration\" width=\"784\" height=\"365\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p><strong>Step #2<\/strong>: expand the <strong>General<\/strong> tab and press <strong>Web<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/general-web.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22413\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/general-web.png\" alt=\"general web\" width=\"460\" height=\"473\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p>NB! make sure that you make configurations to the right store view.<\/p>\n<p><strong>Step #3<\/strong>: expand the <strong>Base URL<\/strong> section.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/base-url.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22414\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/base-url.png\" alt=\"base url\" width=\"1345\" height=\"534\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p><strong>Step #4<\/strong>: enter your domain into the <strong>Base URL<\/strong> and <strong>Base Link URL<\/strong> fields.<\/p>\n<p><strong>Step #5<\/strong>: press <strong>Save Config<\/strong>.<\/p>\n<h4>How to add Magento store code into the URL address<\/h4>\n<p><strong>Step #1<\/strong>: navigate to <strong>Stores<\/strong> -&gt; <strong>Settings<\/strong> -&gt; <strong>Configuration<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-settings-configuration.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22412\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-settings-configuration.png\" alt=\"stores settings configuration\" width=\"784\" height=\"365\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p><strong>Step #2<\/strong>: expand the <strong>General<\/strong> tab and press <strong>Web<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/general-web.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22413\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/general-web.png\" alt=\"general web\" width=\"460\" height=\"473\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p>NB! make sure that you make configurations to the right store view.<\/p>\n<p><strong>Step #3<\/strong>: expand the <strong>URL Options<\/strong> section.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/url-options.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22415\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/url-options.png\" alt=\"url options\" width=\"1326\" height=\"546\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p><strong>Step #4<\/strong>: set <strong>Add Store Code to Urls <\/strong>at <strong>Yes<\/strong>.<\/p>\n<p><strong>Step #5<\/strong>: press <strong>Save Config<\/strong> button.<\/p>\n<p><strong>Step #6<\/strong>: navigate to <strong>System<\/strong> -&gt; <strong>Cash management<\/strong> and press <strong>Flush Magento Cache<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/cache-management.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22416\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/cache-management.png\" alt=\"cache management\" width=\"1893\" height=\"907\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<h4>How to change Magento store view base URL by default<\/h4>\n<p><strong>Step #1<\/strong>: navigate to <strong>Stores<\/strong> -&gt; <strong>Settings<\/strong> -&gt; <strong>Configuration<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-settings-configuration.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22412\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-settings-configuration.png\" alt=\"stores settings configuration\" width=\"784\" height=\"365\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step #2<\/strong>: expand the <strong>General<\/strong> tab and press <strong>Web<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/general-web.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22413\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/general-web.png\" alt=\"general web\" width=\"460\" height=\"473\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p><strong>Step #3<\/strong>: select <strong>Default Config<\/strong> in <strong>Store View<\/strong> list.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/defaul-store-view.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22418\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/defaul-store-view.png\" alt=\"default store view\" width=\"577\" height=\"253\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p><strong>Step #4<\/strong>: expand the <strong>Base URL<\/strong> section.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/base-url-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22419\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/base-url-1.png\" alt=\"base url\" width=\"1345\" height=\"534\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p><strong>Step #5<\/strong>: enter your domain into the <strong>Base URL<\/strong> and <strong>Base Link URL<\/strong> fields.<\/p>\n<p><strong>Step #6<\/strong>: press <strong>Save Config<\/strong>.<\/p>\n<h4>How to change the default store view in Magento<\/h4>\n<p><strong>Step #1<\/strong>: log in to Magento back office and navigate to <strong>Store<\/strong> -&gt; <strong>All stores<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-all-stores.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22407\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-all-stores.png\" alt=\"stores all stores magento\" width=\"850\" height=\"355\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p><strong>Step #2<\/strong>: select the store you wish to change default store view.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/main-website-store-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22420\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/main-website-store-1.png\" alt=\"main website store\" width=\"1787\" height=\"361\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p><strong>Step #3:<\/strong> set up the <strong>Default store view<\/strong> you want your store to have.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/configuration.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22421\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/configuration.png\" alt=\"configuration\" width=\"1783\" height=\"655\" title=\"How to Set up Magento 2 Multi Stores\"><\/a><\/p>\n<p><strong>Step #4:<\/strong> press <strong>Save Store<\/strong> in the upper right corner.<\/p>\n<h3>Method #2: How to perform Magento 2 multistore nginx rewrite<\/h3>\n<p><strong>Step #1<\/strong>: add the following config into the <strong>\/etc\/nginx\/sites-available\/website2<\/strong> file.<\/p>\n<pre class=\"lang:default decode:true\">    website2.test website2;\r\n}\r\n\r\nserver {\r\n    listen 80;\r\n    server_name website2.test;\r\n    set $MAGE_ROOT \/var\/www\/html\/magento2;\r\n    set $MAGE_MODE developer;\r\n    set $MAGE_RUN_TYPE website; #or set $MAGE_RUN_TYPE store;\r\n    include \/var\/www\/html\/magento2\/nginx.conf;\r\n<\/pre>\n<p>Then add<\/p>\n<pre class=\"lang:default decode:true\">  cd \/etc\/nginx\/sites-enabled\r\n    ln -s \/etc\/nginx\/sites-available\/website2 website2\r\n<\/pre>\n<p><strong>Step #2<\/strong>: change the nginx.conf.sample file, located at the following path <strong>&lt;magento2_installation_directory&gt;\/nginx.conf.sample<\/strong>.<\/p>\n<p>Do not make changes in the original file; instead, make a copy of it and alter the copy.<\/p>\n<p>Paste the following lines<\/p>\n<pre class=\"lang:default decode:true\">fastcgi_param MAGE_RUN_TYPE $MAGE_RUN_TYPE;\r\n    fastcgi_param MAGE_RUN_CODE $MAGE_RUN_CODE;\r\n<\/pre>\n<p>The Magento multistore config section should look the following way<\/p>\n<pre class=\"lang:default decode:true\"># PHP entry point for main application\r\n\r\nlocation ~ (index|get|static|report|404|503|health_check)\\.php$ {\r\n    try_files $uri =404;\r\n    fastcgi_pass   fastcgi_backend;\r\n    fastcgi_buffers 1024 4k;\r\n\r\n    fastcgi_param  PHP_FLAG  \"session.auto_start=off \\n suhosin.session.cryptua=off\";\r\n    fastcgi_param  PHP_VALUE \"memory_limit=756M \\n max_execution_time=18000\";\r\n    fastcgi_read_timeout 600s;\r\n    fastcgi_connect_timeout 600s;\r\n\r\n    fastcgi_index  index.php;\r\n    fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;\r\n    # START - Multisite customization\r\n    fastcgi_param MAGE_RUN_TYPE $MAGE_RUN_TYPE;\r\n    fastcgi_param MAGE_RUN_CODE $MAGE_RUN_CODE;\r\n    # END - Multisite customization\r\n    include        fastcgi_params;\r\n}\r\n<\/pre>\n<h3>Method #3: How to create and configure Magento multiple stores with apache<\/h3>\n<p>To create a new Magento store with apache, all you need is to create a new virtual host.<\/p>\n<p><strong>Step #1:<\/strong> edit the configuration file, for instance the<strong> \/etc\/httpd\/conf\/httpd.conf<\/strong>.<\/p>\n<p><strong>Step #2<\/strong>: add the new virtual host after all existing.<\/p>\n<p>It should look the following way<\/p>\n<pre class=\"lang:default decode:true\">&lt;VirtualHost *:80&gt;\r\n    ServerName          website.test\r\n    DocumentRoot        \/var\/www\/html\/magento2\/pub\/\r\n &lt;\/VirtualHost&gt;\r\n\r\n &lt;VirtualHost *:80&gt;\r\n    ServerName          website2.test\r\n    DocumentRoot        \/var\/www\/html\/magento2\/pub\/\r\n    SetEnv MAGE_RUN_CODE \"website2\"\r\n    SetEnv MAGE_RUN_TYPE \"website\"\r\n &lt;\/VirtualHost&gt;\r\n\r\n<\/pre>\n<p><strong>Step #3<\/strong>: set variables via .htaccess.<\/p>\n<p>For example<\/p>\n<pre class=\"lang:default decode:true\">SetEnvIf Host .*site1.* MAGE_RUN_CODE=site1_com\r\n    SetEnvIf Host .*site1.* MAGE_RUN_TYPE=website\r\n\r\n    SetEnvIf Host .*site2.* MAGE_RUN_CODE=site2_com\r\n    SetEnvIf Host .*site2.* MAGE_RUN_TYPE=website\r\n<\/pre>\n<p><strong>Step #4<\/strong>: save and restart the system.<\/p>\n<p>CentOS: service httpd restart<br>\nUbuntu: service apache2 restart<\/p>\n<h3>Method #4: How to create separate folders for each store<\/h3>\n<p><strong>Step #1<\/strong>: create a store folder in the root category.<\/p>\n<p><strong>Step #2<\/strong>: copy the index.php and .htaccess files from the root category into the newly created folder.<\/p>\n<p><strong>Step #3<\/strong>: edit the Magento 2 multistore index.php in the new folder.<\/p>\n<p>Change <em>require __DIR__ . &lsquo;\/app\/bootstrap.php&rsquo;;<\/em> into r<em>equire &lsquo;..\/app\/bootstrap.php&rsquo;.<\/em><\/p>\n<p>Before the<em> $bootstrap-&gt;run($app);<\/em> line, add<\/p>\n<pre class=\"lang:default decode:true\">$params = $_SERVER;\r\n$params[\\Magento\\Store\\Model\\StoreManager::PARAM_RUN_CODE] = 'website2'; \r\n$params[\\Magento\\Store\\Model\\StoreManager::PARAM_RUN_TYPE] = 'website';\r\n$bootstrap = \\Magento\\Framework\\App\\Bootstrap::create(BP, $params);\r\n$app = $bootstrap-&gt;createApplication('\\Magento\\Framework\\App\\Http');<\/pre>\n<p>As a result, your index.php should look the following way:<\/p>\n<pre class=\"lang:default decode:true \">try {\r\n    require '..\/app\/bootstrap.php';\r\n} catch (\\Exception $e) {\r\n    echo &lt;&lt;&lt;HTML\r\n&lt;div style=\"font:12px\/1.35em arial, helvetica, sans-serif;\"&gt;\r\n    &lt;div style=\"margin:0 0 25px 0; border-bottom:1px solid #ccc;\"&gt;\r\n        &lt;h3 style=\"margin:0;font-size:1.7em;font-weight:normal;text-transform:none;text-align:left;color:#2f2f2f;\"&gt;\r\n        Autoload error&lt;\/h3&gt;\r\n    &lt;\/div&gt;\r\n    &lt;p&gt;{$e-&gt;getMessage()}&lt;\/p&gt;\r\n&lt;\/div&gt;\r\nHTML;\r\n    exit(1);\r\n}\r\n\r\n$params = $_SERVER;\r\n    $params[\\Magento\\Store\\Model\\StoreManager::PARAM_RUN_CODE] = 'website2'; \r\n    $params[\\Magento\\Store\\Model\\StoreManager::PARAM_RUN_TYPE] = 'website';\r\n    $bootstrap = \\Magento\\Framework\\App\\Bootstrap::create(BP, $params);\r\n    $app = $bootstrap-&gt;createApplication('\\Magento\\Framework\\App\\Http');\r\n$bootstrap-&gt;run($app);\r\n<\/pre>\n<div class=\"content_sales_info\" style=\"background-image: url(https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/03\/Sales_background.png\"><img width=\"65\" height=\"65\" src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/03\/Igor-Dragun1.png\" alt=\"Igor Dragun\" title=\"How to Set up Magento 2 Multi Stores\"><div class=\"content_part\"><h3 class=\"title\">Partner With Us <\/h3><span class=\"sales_content_text\">Let's discuss how to grow your business. Get a Free Quote.<\/span><\/div> <a class=\"call-to-action\" href=\"https:\/\/belvg.com\/contact?utm_source=blog&amp;utm_campaign=sales_block&amp;utm_content=middle\" target=\"_blank\" rel=\"noopener\">Talk to Igor<\/a><\/div>\n<h2 id=\"step_5\">What are the advantages and disadvantages of Magento multistore?<\/h2>\n<p>Nothing in the world is perfect, everything has its advantages and disadvantages, and so does multiple stores in Magento. In order to become certain of whether or not your business needs multiple stores, it is crucial to be aware of all the pros and cons of them.<\/p>\n<p>Now let&rsquo;s compare a multi store and a single store and find out the advantages of a multi store.<\/p>\n<p><strong>1. Administrative panel<\/strong><\/p>\n<p>In a multi-store, you are a site owner and control all the stores hosted. So, one administrative panel controls all the stores. Apart from this, in a multi-vendor site, you control the backend. Individual vendors control product display and its settings using their password and account.<br>\nIn a single store, you control all the settings, front-end, and back-end through the administrative panel. So, one panel controls only one store.<\/p>\n<p><strong>2. Localization<\/strong><\/p>\n<p>In a multi-store you can set-up different stores in various languages for many countries. The main benefit is that it is easy to localize. You have subsites in different languages or for various regions. You can have one store in different languages. It is an ideal solution because people from different countries can see their products in their local language.<br>\nAnother advantage is that you can do it on the same domain. It will be money-consuming. In contrast, in a single store you have to set-up different stores in many languages with different domains. That is an expensive and not a workable solution.<\/p>\n<p><strong>3. Sell different buyer groups<\/strong><\/p>\n<p>The advantage of a multi-store is that you can target different categories of your customers- men, women, and children. There is an opportunity to choose various shops for different customers, taking into account their wishes, preferences, interests. It is possible to create and add different stores according to user categories. This will be a profitable and useful solution for your business.<\/p>\n<p>In comparison, in a single store, you cannot create, clear and broad user categories. It is impossible to target different user categories and drive more user traffic to the store. A single store has more drawbacks because it is impossible to target user categories and pay attention to the customers&rsquo; wishes and needs.<\/p>\n<div class=\"module_in_content_container\"><a href=\"https:\/\/belvg.com\/magento-integration\" class=\"link_to_module\" target=\"_blank\" rel=\"noopener\"><\/a><div class=\"module_content\"><div class=\"module_content_part\"><h3 class=\"title\">Magento 2 Integration<\/h3><p class=\"module_content_text\">Take your online store to the next level with BelVG Magento integration<\/p><a href=\"https:\/\/belvg.com\/magento-integration\" class=\"link_2_to_module\" target=\"_blank\" style=\"display:inline-block\" rel=\"noopener\"><span class=\"read-more\">Visit the page<\/span><\/a><\/div><\/div><\/div>\n<p><strong>4. Diversify brand<\/strong><\/p>\n<p>In a multi-store, you have a great variety of brands. It is easy to create different stores according to your different brands. If you want to enjoy growing sales, pull your brands to different branded stores. It is a good advantage of a multi-stores.<\/p>\n<p>In a single store, it is possible to create a drop down menu that has different brands. But there is a disadvantage. You cannot dedicate a complete subsite customized to a particular brand. Hosting many brands is an excellent opportunity for multi-stores only.<\/p>\n<p><strong>5. Market the same product in different countries<\/strong><\/p>\n<p>Multi-stores have many benefits. First, it is a good opportunity to host many subsites on the same domain. It is time and money-consuming. In addition, you can change the languages for the audience. You localize and internalize at the same time. Moreover, you have customers from many countries for the same product.<\/p>\n<p>Single stores have a lot of drawbacks. First of all, there is only one language per website. If you want to target many countries then you have to create different stores on different domains. It is not efficient and convenient for using.<\/p>\n<p><strong>6. Multiple vendors on the same website<\/strong><\/p>\n<p>In a multi-store, it is possible to allow many vendors to rent space on your website for their products. There are many stores like Amazon and others.<\/p>\n<p>In a single-store, Multi Vendor hosting is impossible. And it is a serious problem because customers will not be able to choose from a wide selection of products from multiple vendors.<\/p>\n<p><strong>7. Order management<\/strong><\/p>\n<p>In a multi-store, the vendors get their orders in the account. The site owner plays no role here. Order management is the vendors responsibility. It is a convenient and useful opportunity. The disadvantage of a single-store is that the site owner takes care of the customer orders.<\/p>\n<p><strong>8. Shipping<\/strong><\/p>\n<p>Shipping in a multi-store is more efficient because a site owner controls a list of different shipping methods. Product providers or vendor define the shipping rate and its origin.<\/p>\n<p>On the contrary, in a single-store, a site administrator completely controls the shipping. It is not convenient and more difficult and time-consuming for the administrator to control shipping methods and define the shipping rate.<\/p>\n<div class=\"content_sales_info\" style=\"background-image: url(https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/03\/Sales_background.png\"><img width=\"65\" height=\"65\" src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/03\/Igor-Dragun1.png\" alt=\"Igor Dragun\" title=\"How to Set up Magento 2 Multi Stores\"><div class=\"content_part\"><h3 class=\"title\">Partner With Us <\/h3><span class=\"sales_content_text\">Let's discuss how to grow your business. Get a Free Quote.<\/span><\/div> <a class=\"call-to-action\" href=\"https:\/\/belvg.com\/contact?utm_source=blog&amp;utm_campaign=sales_block&amp;utm_content=middle\" target=\"_blank\" rel=\"noopener\">Talk to Igor<\/a><\/div>\n<p><strong>9. Payment<\/strong><\/p>\n<p>In a multi-store, all payments go in the merchant account administrator. The administrator checks and transfers the fund to the vendor account. In a single-store, all payments go to the merchant account of the administrator.<\/p>\n<p><strong>10. Backend<\/strong><\/p>\n<p>There is a difference in controlling the entire backend. In a multi-store, the store owner does not control the entire backend. Individual product vendors have their password-protected display area. They upload and maintain products and manage the settings. In a single-store, on the contrary, the store owner controls the entire back end.<\/p>\n<h2 id=\"step_6\">Magento multistore feature: problems and solutions<\/h2>\n<p>Creating multiple stores in <a href=\"https:\/\/belvg.com\/blog\/opencart-vs-magento-who-wins-the-crown.html\" target=\"_blank\" rel=\"noopener\">Magento<\/a> is fast and easy. All you need is to follow the steps and finally, you will be able to create as many stores as you want. There are no technical or code problems with creating multiple stores in Magento, but sometimes customers may encounter online commerce and SEO related problems.<\/p>\n<p>Let us explore the most common Magento multistore problems and their most suitable solutions.<\/p>\n<h3>Problem #1: SSL Certificate limit<\/h3>\n<p>Customers may experience the following problem: a single SSL certificate can only serve one IP address and one domain. There are 2 possible solutions. You can add SSL to multiple domains with any of these solutions:<\/p>\n<ol>\n<li><strong>Wildcard SSL<\/strong>: It provides protection to all the subdomains you create.<\/li>\n<li><strong>Subject Alternative Name (SAN) Certification<\/strong>: It provides a solution for stores created on different domains. A single certificate makes administration easy, and in addition to this, it turns out to be light on the pocket.<\/li>\n<\/ol>\n<h3>Problem #2: IP address and SEO hassles<\/h3>\n<p>Another problem with Magento multi store feature is that the content can become duplicated.<\/p>\n<p>But there is a simple solution to this problem, yet it requires time and effort &ndash; create unique content for each of your Magento stores. It is important to make sure that the content is unique, especially for page title and description. In this case, the content will not become duplicated.<\/p>\n<h3>Problem #3 Magento multi store extension issues<\/h3>\n<p>Another problem may be connected with Magento Multi Store Extension. In a Magento multi store you can have different plugins for each store. This means an extension can be active for one store but will be useless for the others. Nothing will change until you update your Magento software. You can have this problem even if you are not using the multi store feature., but it will just add more complications to it.<\/p>\n<div class=\"module_in_content_container\"><a href=\"https:\/\/belvg.com\/migration-to-magento-2\" class=\"link_to_module\" target=\"_blank\" rel=\"noopener\"><\/a><div class=\"module_content\"><img src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/migration-to-magento-2.png\" width=\"100\" height=\"100\" alt=\"migration to magento 2\" class=\"module_image\" title=\"How to Set up Magento 2 Multi Stores\"><div class=\"module_content_part\"><h3 class=\"title\">Magento 2 Migration<\/h3><p class=\"module_content_text\">Take your online store to the next level with BelVG Magento migration<\/p><a href=\"https:\/\/belvg.com\/migration-to-magento-2\" class=\"link_2_to_module\" target=\"_blank\" style=\"display:inline-block\" rel=\"noopener\"><span class=\"read-more\">Visit the page<\/span><\/a><\/div><\/div><\/div>\n<h2>Wrapping it up<\/h2>\n<p>In conclusion, we can say that Magento multi stores are very useful and efficient for any business, offering many advantages and benefits.<\/p>\n<p><strong>#1:<\/strong> In a multi-store, one administrative panel controls all the shops.<\/p>\n<p><strong>#2:<\/strong> It is possible to set-up different stores in various languages for many countries. It is an ideal solution because people from all over the world can see their products in their local language.<\/p>\n<p><strong>#3:<\/strong> You can target different categories of your customers. It is very profitable and good for your business.<\/p>\n<p><strong>#4:<\/strong> A store owner is able to create different shops according to your different brands. Finally you will enjoy growing sales.<\/p>\n<p><strong>#5:<\/strong> It allows to host many subsites on the same domain; you can also change the languages for the audience. It is very time- and money-saving.<\/p>\n<p><strong>#6:<\/strong> Allow many vendors to rent space on your website for their products. Moreover, order management is the vendors&rsquo; responsibility.<\/p>\n<p><strong>#7:<\/strong> Shipping in a multi-store is more efficient because a site owner controls a list of different shipping methods. In a multi-store, all payments go in the merchant account administrator and the store owner does not control entire backend.<\/p>\n<p>So, if you want to build an ideal business, the best solution for you is to choose Magento multi stores.<\/p>\n<p>Need assistance with your Magento store? Turn to BelVG for <a href=\"https:\/\/belvg.com\/magento-custom-development\" target=\"_blank\" rel=\"noopener\">Magento custom development<\/a>.<\/p>\n<div class=\"module_in_content_container\"><a href=\"https:\/\/belvg.com\/magento-development\" class=\"link_to_module\" target=\"_blank\" rel=\"noopener\"><\/a><div class=\"module_content\"><div class=\"module_content_part\"><h3 class=\"title\">Magento Development<\/h3><p class=\"module_content_text\">Take your online store to the next level with BelVG development<\/p><a href=\"https:\/\/belvg.com\/magento-development\" class=\"link_2_to_module\" target=\"_blank\" style=\"display:inline-block\" rel=\"noopener\"><span class=\"read-more\">Visit the page<\/span><\/a><\/div><\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"Do you want to manage multiple websites and online stores in Magento? With the in-built &#8230;","protected":false},"author":82,"featured_media":22425,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"_acf_changed":false,"footnotes":""},"categories":[474,14,491,525,524,553],"tags":[],"class_list":["post-22402","post","type-post","status-publish","format-image","has-post-thumbnail","hentry","category-ecommerce","category-magento","category-magento-2","category-magento-seo","category-magento-speed-optimization","category-web-design-from-scratch","post_format-post-format-image"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"Discover what is Magento multistore and how to configure multi store from admin panel and programmatically. Learn the advantages of multi store in Magento 2.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Andrey Litvin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/belvg.com\/blog\/how-to-set-up-magento-2-multi-stores.html\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-2-multi-stores.html#article\",\"name\":\"How to Set up Magento 2 Multi Stores | BelVG Blog\",\"headline\":\"How to Set up Magento 2 Multi Stores\",\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/andrey-litvin#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/How-to-Set-up-Magento-2-Multi-Stores.png\",\"width\":1108,\"height\":590,\"caption\":\"How to Set up Magento 2 Multi Stores\"},\"datePublished\":\"2019-06-18T17:16:20+02:00\",\"dateModified\":\"2023-10-31T19:04:37+02:00\",\"inLanguage\":\"en-US\",\"commentCount\":4,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-2-multi-stores.html#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-2-multi-stores.html#webpage\"},\"articleSection\":\"ECOMMERCE, Magento, Magento 2, Magento SEO, Magento Speed Optimization, Web Design from Scratch, Image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-2-multi-stores.html#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"name\":\"Magento\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"position\":2,\"name\":\"Magento\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-2-multi-stores.html#listItem\",\"name\":\"How to Set up Magento 2 Multi Stores\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-2-multi-stores.html#listItem\",\"position\":3,\"name\":\"How to Set up Magento 2 Multi Stores\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"name\":\"Magento\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/andrey-litvin#author\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/andrey-litvin\",\"name\":\"Andrey Litvin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-2-multi-stores.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e1a6e3c80cb940fddb65016d94b015cd951b4a8a9cd7227565131f28ea95c7a0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Andrey Litvin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-2-multi-stores.html#webpage\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-2-multi-stores.html\",\"name\":\"How to Set up Magento 2 Multi Stores | BelVG Blog\",\"description\":\"Discover what is Magento multistore and how to configure multi store from admin panel and programmatically. Learn the advantages of multi store in Magento 2.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-2-multi-stores.html#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/andrey-litvin#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/andrey-litvin#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/How-to-Set-up-Magento-2-Multi-Stores.png\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-2-multi-stores.html\\\/#mainImage\",\"width\":1108,\"height\":590,\"caption\":\"How to Set up Magento 2 Multi Stores\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-set-up-magento-2-multi-stores.html#mainImage\"},\"datePublished\":\"2019-06-18T17:16:20+02:00\",\"dateModified\":\"2023-10-31T19:04:37+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to Set up Magento 2 Multi Stores | BelVG Blog","description":"Discover what is Magento multistore and how to configure multi store from admin panel and programmatically. Learn the advantages of multi store in Magento 2.","canonical_url":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-2-multi-stores.html","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-2-multi-stores.html#article","name":"How to Set up Magento 2 Multi Stores | BelVG Blog","headline":"How to Set up Magento 2 Multi Stores","author":{"@id":"https:\/\/belvg.com\/blog\/author\/andrey-litvin#author"},"publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/How-to-Set-up-Magento-2-Multi-Stores.png","width":1108,"height":590,"caption":"How to Set up Magento 2 Multi Stores"},"datePublished":"2019-06-18T17:16:20+02:00","dateModified":"2023-10-31T19:04:37+02:00","inLanguage":"en-US","commentCount":4,"mainEntityOfPage":{"@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-2-multi-stores.html#webpage"},"isPartOf":{"@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-2-multi-stores.html#webpage"},"articleSection":"ECOMMERCE, Magento, Magento 2, Magento SEO, Magento Speed Optimization, Web Design from Scratch, Image"},{"@type":"BreadcrumbList","@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-2-multi-stores.html#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/belvg.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","name":"Magento"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","position":2,"name":"Magento","item":"https:\/\/belvg.com\/blog\/category\/magento","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-2-multi-stores.html#listItem","name":"How to Set up Magento 2 Multi Stores"},"previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-2-multi-stores.html#listItem","position":3,"name":"How to Set up Magento 2 Multi Stores","previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","name":"Magento"}}]},{"@type":"Organization","@id":"https:\/\/belvg.com\/blog\/#organization","name":"BelVG Blog","description":"Magento and Prestashop articles","url":"https:\/\/belvg.com\/blog\/"},{"@type":"Person","@id":"https:\/\/belvg.com\/blog\/author\/andrey-litvin#author","url":"https:\/\/belvg.com\/blog\/author\/andrey-litvin","name":"Andrey Litvin","image":{"@type":"ImageObject","@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-2-multi-stores.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/e1a6e3c80cb940fddb65016d94b015cd951b4a8a9cd7227565131f28ea95c7a0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Andrey Litvin"}},{"@type":"WebPage","@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-2-multi-stores.html#webpage","url":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-2-multi-stores.html","name":"How to Set up Magento 2 Multi Stores | BelVG Blog","description":"Discover what is Magento multistore and how to configure multi store from admin panel and programmatically. Learn the advantages of multi store in Magento 2.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/belvg.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-2-multi-stores.html#breadcrumblist"},"author":{"@id":"https:\/\/belvg.com\/blog\/author\/andrey-litvin#author"},"creator":{"@id":"https:\/\/belvg.com\/blog\/author\/andrey-litvin#author"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/How-to-Set-up-Magento-2-Multi-Stores.png","@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-2-multi-stores.html\/#mainImage","width":1108,"height":590,"caption":"How to Set up Magento 2 Multi Stores"},"primaryImageOfPage":{"@id":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-2-multi-stores.html#mainImage"},"datePublished":"2019-06-18T17:16:20+02:00","dateModified":"2023-10-31T19:04:37+02:00"},{"@type":"WebSite","@id":"https:\/\/belvg.com\/blog\/#website","url":"https:\/\/belvg.com\/blog\/","name":"BelVG Blog","description":"Magento and Prestashop articles","inLanguage":"en-US","publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"}}]}},"aioseo_meta_data":{"post_id":"22402","title":"How to Set up Magento 2 Multi Stores | #site_title","description":"Discover what is Magento multistore and how to configure multi store from admin panel and programmatically. Learn the advantages of multi store in Magento 2.","keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-11-03 18:36:42","updated":"2026-11-03 18:36:42"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/category\/magento\" title=\"Magento\">Magento<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to Set up Magento 2 Multi Stores\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/belvg.com\/blog\/"},{"label":"Magento","link":"https:\/\/belvg.com\/blog\/category\/magento"},{"label":"How to Set up Magento 2 Multi Stores","link":"https:\/\/belvg.com\/blog\/how-to-set-up-magento-2-multi-stores.html"}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/22402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/users\/82"}],"replies":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/comments?post=22402"}],"version-history":[{"count":4,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/22402\/revisions"}],"predecessor-version":[{"id":27722,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/22402\/revisions\/27722"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media\/22425"}],"wp:attachment":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media?parent=22402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/categories?post=22402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/tags?post=22402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}