I had setup staging environment for my magento 2.3 site. The setup is same like production. When i click on anything on staging site, it gets redirected to production. Checked everything(base url , config data) everything is correct. Cleared cache also. How to solve this issue?

  • have you check base_url in core_config_data ?
    – Hiren
    Aug 1, 2019 at 5:37
  • search for live url in core_config_data table, check and change the URL that is pointing to live Aug 1, 2019 at 12:56

1 Answer 1


Please find production url on your folder may be add production url static anywhere in file or .htaccess file.

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.