Hi I’m importing a blog from XAMPP and the default IP 127.0.0.1 is in the URL and I can’t access to the dashboard.
How can I change this?
Thanks
Fernando
Hi Fernando,
You can fix that with WP-CLI. Here’s how:
- Right-click on the site in Local
- Go to ‘Open Site SSH’
- Enter
wp search-replace '//127.0.0.1' '//newdomain.com'
(newdomain.com being your Local site domain) - Done!
1 Like