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

  • It looks like you solved it, you might like to say how.
    – Richard
    Commented Oct 30, 2014 at 12:24
  • Is your issue solved?
    – zus
    Commented Nov 13, 2017 at 6:22

2 Answers 2


May be you need to change URL for store as well. In core_config_data table search for path like '%base_url%' update your URL accordingly for unsecure and secure in all entries and refresh cache.

  • the two keys are web/unsecure/base_url and web/secure/base_url. The cache also needs flushing after you update the DB like that
    – Richard
    Commented Oct 30, 2014 at 10:50
  • thanks for your suggestion but i have already do this thing but noting happens Commented Oct 30, 2014 at 10:51
  • sometimes there are more than two entries due to different scope.
    – Sandesh
    Commented Oct 30, 2014 at 10:53

I just renamed the publich_html/var/cache ( Cache folder) and it solved for me. The website started working for me .

Here are the details of fixes.

  1. Changed the base URL in core_config_data with new URL

  2. Renamed the Cache folder under public_html(magento root directory)/var/cache to random cach222

  3. Reopened in an URL and it started working.

write me on [email protected] in case of any issues.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.