Local wp site on local with ngrok

I wanna use ngrok with a local site. My site domain is “http://test-local/”. but when i ran “ngrok http test-local” and go to the provided url, it shows 404. How can i solve this?


Hi @Thurein-Win

Have you tried running with the Port instead of the domain? Something like ngrok http 80

If WordPress throws a 404 or redirects incorrectly, you may need to update your site’s URL in the database temporarily to match the ngrok URL as well.