I used to use MAMP to locally host my wordpress website and it worked fine.
I recently started doing Laravel development so I use homebrew and valet. (which apparently interfered with MAMP because it stopped working, I’m still new to that whole area, so now I have to use wordpress with valet)
I was able to connect to my website using
mysite.dev and I could see the homepage but without any date because the database was empty. Then I imported my database and now when I use
mysite.dev in any broswer, it redirects me to
www.mysite.ca (the actual website and not the local one).
I did do the command
valet park in my wordpress repository.
How can I possibly fix this ? I suspect it’s some setting in wordpress but I can’t even access my local wp-admin.
Read more here: Local valet wordpress site redirects to real site