Local valet wordpress site redirects to real site

admin

Administrator
Staff member
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
Code:
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
Code:
mysite.dev
in any broswer, it redirects me to
Code:
www.mysite.ca
(the actual website and not the local one).

I did do the command
Code:
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.