I have a wordpress site on an IIS at localhost. To demo the site, I used ngrok to make the site available.
When viewing the site on localhost, everything looks fine. However, when I view the site remotely through the ngrok tunnel, the content appears, but all style & theme elements are lost.
I am not sure what code, configuration or documentation would be helpful for solving this problem.
Any idea why this may be occurring?
This happens because the links in wordpress are usually absolute, you need to force Wordpress to use relative URLs with one of those plugins:
https://github.com/optimizamx/odt-relative-urls
http://wordpress.org/plugins/relative-url/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With