Formatting Issue

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Formatting Issue

Postby DystraLogi » 13. October 2023 16:57

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
DystraLogi
 
Posts: 2
Joined: 13. October 2023 16:44
XAMPP version: 3.3.0
Operating System: Win Server 2019

Re: Formatting Issue

Postby DystraLogi » 13. October 2023 17:55

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>
DystraLogi
 
Posts: 2
Joined: 13. October 2023 16:44
XAMPP version: 3.3.0
Operating System: Win Server 2019


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 134 guests