- Download ngrok
- Create an account and enter your authtoken
./ngrok authtoken
- Then execute:
./ngrok http -host-header=your-local-site.dev 80
- In the screen that follows, ngrok will show the new publicly accessible address of your site
- Finally, you’ll probably need to run the following command with wp-cli in order to replace your local links with the new ones:
wp search replace old-url new-url