Page 1 of 1

Formatting Issue

PostPosted: 13. October 2023 16:57
by DystraLogi
I'm farely new to xampp/wordpress/apache so I'm not really sure what is causing the problem. Setting up a local intranet site on windows server 2019, nothing complicated, just links to various thing. Probmem I'm having is the page loses a bunch of formatting when accessing it outside of the local host:

what it looks like from the localhost:
Image

what it looks like outside of host:
Image
could someone point me in the right direction here...

*using xampp with wordpress.

thanks.

-m

Re: Formatting Issue

PostPosted: 13. October 2023 17:55
by DystraLogi
Solved. found my answer here: https://stackoverflow.com/questions/20305999/wordpress-will-only-fully-load-on-localhost

I saw a question very similar to this one but for Mediawiki today. You probably have configured Wordpress with 127.0.0.1 or localhost as your IP address, instead of your actual IP address.
You have to make changes in your wp_options table, you need to change two entries: option id 1 - siteurl - change http://localhost/ to http://<your local ip>; option id 36 - home - change http://localhost/ to http://<your local ip>