I'm working on some edits for a client's site. So I downloaded the site's files and exported the database.
I need to make some big changes on a development machine first so I won't mess with the live site.
Then I imported the database to my development machine and setup the files as well. But whenever I go to http://localhost it redirects me to the client's site: https://theclientsite.com
So since it redirects me to a https address I'm thinking it probably has something to do with that.
I did a global search on the code for the client's domain, but I don't see anything that redirects.
What could be the source of the redirecting? If the site doesn't stop redirecting, I can't work.