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.
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