I'm struggling with a Magento multi store install. The old setup was one Magento install with two sites / stores all pointing to the same folder. Now the client wants 2 independent websites so changes to one won't mess the other.
Anyway, the database was duplicated, the files were copied, var/cache, var/session, var/tmp were emptied. I've changed the database params in app/etc/local.xml, the .htaccess file doesn't have any hard coded rules.
The problem is that sitea.com keeps redirecting to siteb.com and the admin area is not working, so I have to do everything in the console or phpMyAdmin.
What are the database tables where I have to do the changes ? What am I missing ?
Magento 2, Get Referer url by calling function getRefererUrl() or getRedirectUrl() from RedirectInterface Object. Magento core Interface, Magento\Framework\App\Response\RedirectInterface used for fetch Referer URL.
Web pages may be redirected to a new domain for three reasons: a site might desire, or need, to change its domain name; an author might move their individual pages to a new domain; two web sites might merge.
The base_url in the core_config_data did the trick, combined with deleting everything in var/cache, var/session, var/tmp, and the system /tmp folder
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With