I just went through the troubleshooting steps I found on another thread, but I did not have any success with preventing my local from redirecting immediately to the live site… I have changed the options from the live website to the local in the Adminer. I have followed the suggested moved in the cli. Kinda stuck?
This is probably still a misconfiguration in some place. If you manually put your Local domain on the browser it still redirects to the live site?
There are some options you can explore if you already haven’t.
Check your wp-config.php file to see if there is any constant like those somewhere on the file:
Check your .htaccess file (that is located on the root of the site) to see if theres any redirect, or mentions of your live site. To see this file you might need to make dotfiles visible (Cmd + Shift + . on a Mac)
Also, can you explain, or at least reference the link of the process you made to import your live site to Local? (steps, plugins, etc)