Using ngrok with Wordpress
tip
This article assumes you familiar with moderate to advanced Wordpress configuration.
To make ngrok work properly with the latest Wordpress installation, you only need to tell ngrok to rewrite the host header and point to the port of your Wordpress install (usually port 80), like so:
ngrok http 80 --host-header=rewrite --url www.your-site.dev