I try to import from XAMPP to Local and I can't

Hi I’m importing a blog from XAMPP and the default IP is in the URL and I can’t access to the dashboard.
How can I change this?

Hi Fernando,

You can fix that with WP-CLI. Here’s how:

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