When pulling my live site (hosted on Flywheel) to my Local (v5.4.2) environment, the process says it’s changing the site domain, but only updates the hosts file. The ‘siteurl’ and ‘home’ options in the database (wp_options) still have the live site domain names.
Because of this, when I click on the ‘Admin’ or ‘View Site’ buttons in Local I end up getting connected to my live site instead of the local development site. I have to manually change these two entries in the local database just so I can view/administer my local site.
I have tried creating the local site environment by pulling from the live site, and I also see the exact same problem if I imported the local files from the older Local by Flywheel app and then did a pull from the live site.
Isn’t the pull process supposed to update the local database with the correct local site domain?
(Running on Windows 10 )