I have WordPress running on my website and I also have a copy on my localhost. The design of the two sites is identical except all the posts were only online and the local environment didn't have any of the posts. I downloaded the MySQL database online and imported it into my localhost. Now my localhost site always redirects to my site online.
Any idea what's wrong or how to fix it?