red24698
Member
Posted 3 years ago #
I have wordpress installed and running on my own machine running apache. If I view it on the host machine through localhost it shows up fine, but if i try to view it from any other machine it just shows text and no theme or images.
url: wp.scwebsolutions.com
Thanks for the help.
I see this when I view source:
<link rel="stylesheet" href="http://localhost/wp/wp-content/themes/default/style.css" type="text/css" media="screen" />
localhost should be your domain :)
red24698
Member
Posted 3 years ago #
clw3388
Member
Posted 3 years ago #
Hey guys, I was having the same problem.
Looked fine in the local network but didnt display theme/images external..
Changed the siteurl and home to proper directory and now looks fine external but not internal?
*original http://localhost/var/www/sitename/blog
*updated http://domainname/blog
I know I know... create a host file you lazy bugger.. I figure id share anyway... gots any other ideas?
goclone1
Member
Posted 2 years ago #
ok i messed this up. i had it setup to work off the ip when i whent to change it i acadently left a 1 before the address. any idea ware this can be changed in code.
thanks
mick.crane
Member
Posted 2 years ago #
you can add a hosts file on server and clients linking name to ip. use name in httpd.conf and using phpmyconfig search database for instances of the ipaddress and change those to the new name.
mick.crane
Member
Posted 2 years ago #
ooops of course I meant phpmyadmin