I did not create the site and I am new to magento, I downloaded the files and database locally, but when I visit the local link it redirects to the live site
my guess is I need to update some line in the code but I am lost as to were I need to make that change, can anyone help?
Solved! Go to Solution.
Hi @alecom2go
Here are the steps will help you in change website URL on local server.
I hope it will work for you.
Thanks
--
If my answer is useful, please Accept as Solution & give Kudos
Hi @alecom2go
Here are the steps will help you in change website URL on local server.
I hope it will work for you.
Thanks
--
If my answer is useful, please Accept as Solution & give Kudos
Please run this query on your Magento database.
SELECT * FROM `core_config_data` WHERE `path` LIKE 'web/%/%url'
and make sure all the links appearing in result are from your local host and not live site. Updating them solves the problem.
Like and give Kudos if it helps. 🙂