I migrated my site to Flywheel, but every time I try to open it re directs to the live site
Hey @kaznayton , Welcome to the community!
When you created the site in Local, did you give it a different domain than the live site?
That will force it to redirect to the live site.
You can change the site domain from the overview tab, if you change it to something like
mydomain.local it should work.
If you are using a different domain on Local, you might need to run a database search and replace for the live site’s domain.
If you right-click on a site in Local, you can “Open SSH”. .
When the terminal opens you can run a search and replace with WP CLI.
wp search-replace 'livedomain.com' 'localdomain.local' --all-tables --dry-run
--dry-run flag will first check if there is anything to replace if there are hits you can remove it.
Hope that helps!