cancel
Showing results for 
Search instead for 
Did you mean: 

Setting up Multi store ver. 2.4.3-p1

Setting up Multi store ver. 2.4.3-p1

Hi

 

What changes need to be made to the index.php and/or htaccess files to set up multi store using different domains on Magento 2 version 2.4.3-p1?

 

I understand how to set up multi stores in the admin panel under Stores>All Stores>Create Website but I've read different methods for editing the index.php and htaccess files to set up the different domains. So I'm not sure what the best option is.

 

Any help would be much appreciated.

 

Thanks

Paul 

 

 

2 REPLIES 2

Re: Setting up Multi store ver. 2.4.3-p1

Hello @PaulK 

 

 

Please follow the below steps given in the Magento dev docs to set up multiple domains in the same Magento.

 

 

https://devdocs.magento.com/guides/v2.4/config-guide/multi-site/ms_apache.html

 

If my answer is helpful full then please set the accept solution flag and kudos flag so other members can take the same reference.

 

Re: Setting up Multi store ver. 2.4.3-p1

Step 1: Create root categories
Step 2: Create websites
Step 3: Create stores
Step 4: Create store views
Step 5: Change the website base URL
Step 6: Add the store code to the base URL
Step 7: Change the default store view base URL
Detailed instructions can be found here

If issue solved, Click Kudos & Accept as Solution.
LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool