I have created a test store to test theme and plugins at and this test store is reside same directory where my live website is present my live website url is and test store url is https://test.royalcandycompany.com/ all going well untill i open backend but after login it will redirect to the admin panel of my live website https://www.royalcandycompany.com/index.php/admin/dashboard/ to solve this problem i have changed the base url in core config table of database but it is still redirecting to same url. so please any one help me in this problem
Magento – site is redirecting to old url
admin-paneldevelopmentredirect
Best Answer
May be you need to change URL for store as well. In
core_config_data
table search forpath like '%base_url%'
update your URL accordingly forunsecure
andsecure
in all entries and refresh cache.