- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Magento 2.3.1 Multi-store Setup
So i am in the process of trying to work out how to get multi site setup working. My host is siteground and they have the following tutorial
https://www.siteground.com/tutorials/magento/multistore/
One thing i find odd is that there is no official guidance from Magento on how to set these things up, and that most of the tutorials out there appear to be specific to hosts. Anyway...
I have worked my way through this tutorial, following each step and i am recieving the error seen on this page
The website with code /store_id/2/ that was requested wasn't found. Verify the website and try again.
Now, the code i am supposed to use is in the url from the store view edit page
and that this goes into the index.php in the
$params[\Magento\Store\Model\StoreManager:ARAM_RUN_CODE] = '/store_id/2/';
now the problem i have is that even though the code is set correctly and everything else appears to be setup correctly the actual page is returning the error stated.
Does anyone have an idea where i can start to look to get this resolved as it appears to be yet another bug in the magento 2 software.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2.3.1 Multi-store Setup
Hi paul,
You can remove the old store data from inside of the "core_config_data". The problem is that when the Magento is loading the run time configuration data it is finding the old stores and trying to resolve them. Before cleaning the data from the database I HIGHLY recommend you run the SELECT query below to make sure you delete the correct stores.
SELECT * FROM core_config_data WHERE scope = 'stores';
WARNING: MAKE SURE TO BACKUP YOUR DATABASE BEFORE RUNNING THIS!
DELETE FROM core_config_data WHERE scope_id != 1 AND scope = 'stores';
if issue solved,Click Kudos & Accept as Solution