I am being redirected to an old dev site domain (that I changed in Local recently - I know, shouldn’t have done this in hind sight). I swear I have tried everything…
I went directly into Adminer and searched and replaced everything I could find, EXCEPT one file that I don’t have permissions to edit: information_schema/processlist
Tried wp search-replace '//olddomain.com' '//newdomain.com' - nothing came up.
Tried grep -R "olddomain.com" . but it only returned results from access/error logs
I have defined WP_SITEURL and WP_HOME
None of this has solved my issue. I am able to view the site with Local’s Live Link but I really need this to work without internet…
Note: /wp-admin works but the redirect only happens when trying to view the [dev] site domain.
Having the same problem. I downloaded a backup from a Flywheel site and imported into Local. Keeps taking me to my Flywheel site rather than on my machine. Live internet link works though. Help?
I tried this and it’s still forwarding. Any other ideas? I’ve never had a problem downloading and importing a site into Local before so I’m not sure what changed in this process since the last time I did it.