Problem of redirecting the local site to online site

I installed on LOCAL a site that exists online with DUPLICATOR.
Installation successful but when I want to go see the site locally I am redirected to the site online (https // …) and not "my-site.dev"
I can not find where to configure this redirect

Hi Guy,

I would recommend using WP-CLI to do a search-replace to fix the old domains. Here’s how you can run the search and replace with WP-CLI in Local:

  1. Right-click on the site in Local
  2. Go to ‘Open Site SSH’
  3. Enter wp search-replace '//olddomain.com' '//newdomain.com' (olddomain.com being your live domain and newdomain.com being your Local site domain)
  4. Done!

Hello
I use Windows 7 pro and I can not use WP-CLI.
Open Site SSH does not work on my PC.
I would use the search-replace function in the database to do this. How to use MySQL with Local.

thanks

Guy

Hi Guy,

What happens when you try the Open Site SSH option? Do you see an error in Cmd.exe?

Hi Clay,

When I click on “open site SSH” here is what appears (see attachment SSH.jpg).
I do not know what to do later.
I try the command line of your previous message
Enter wp search-replace ‘//olddomain.com’ ‘//newdomain.com’ (olddomain.com being your live domain and newdomain.com being your Local site domain)
but that does not matter.