WordPress.org

Ready to get started?Download WordPress

Forums

local install broken css and wp-admin on network (7 posts)

  1. Lannier
    Member
    Posted 2 years ago #

    I have a local install of WordPress 3.3.1 running on Apache from a Red Hat Linux server. On the localhost WordPress loads and acts as is should. However when I connect to it from another machine on my network the css does not load and I cannot access wp-admin.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Let me guess - you used localhost or 127.0.0.0 as your site urls? Every machine thinks that it is localhost/127.0.0.0.

  3. Lannier
    Member
    Posted 2 years ago #

    Thank you for your response. I did not use the local host as the sites url. I assigned it an internal IP and set it as static. I used virtual host to set the directory path.

  4. Lannier
    Member
    Posted 2 years ago #

    Not sure why this was marked resolved or by whom but... ok. The one answer did not address the issue, I simply thanked esmi for responding.

  5. rostarj
    Member
    Posted 2 years ago #

    I am running into the same problem. I have a fresh install of wamp on Windows XP and a fresh install of WordPress. When I view the site from the computer (http://localhost/wordpress) the default theme looks fine. When I try viewing the website from another machine on the network (http://wiki/wordpress) I get a site that is broken (css not working, images broken, etc).

    Any suggestions?

  6. rostarj
    Member
    Posted 2 years ago #

    I posted this question on the wamp server support forums and got an immediate answer:

    http://forum.wampserver.com/read.php?2,81470

    Basic answer- In your WordPress settings, you need to put in the machine's ip address for the Site Address and the site address instead of localhost.

    Hope this helps!

  7. rostarj
    Member
    Posted 2 years ago #

    Wait.... going back and reading esmi's response, thats the same solution proposed up top... so maybe thats not an appropriate solution for you. Sorry to hi jack your thread

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags