WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remote access to local WP site (2 posts)

  1. talino
    Member
    Posted 7 years ago #

    Hi all,

    I've just started working on my WP site. For the time being I'm creating it locally (the SQL database is online, though), using MAMP on OSX (MAMP = Mac Apache MySQL PHP, equivalent to EasyPHP on XP).

    Whenever I view my site locally (pointing Safari or Firefox to http://localhost:8888/blog/) I see the site correctly. However, when I try to load it on my networked XP machine (http://192.168.0.10:8888/blog/), using either IE6 or Firefox, I get the web site without the stylesheet applied.

    It seems that all links are hard-converted to 'localhost' instead of using the proper IP address, because when I click on a link I get an error message (obviously, since there is no 'localhost' server running on my XP machine).

    This does *not* happen with my current site (hosted locally at http://localhost:8888/, outside the /blog/ directory), where links function as they should. So I guess this is not a problem with MAMP but rather with the way WP handles links and internal references.

    Is there any way around this? I don't want to put the WP site online until I finish creating it locally. And I need to test it on several networked computers.

    Thanks a lot.

  2. talino
    Member
    Posted 7 years ago #

    OK, figured that out myself. "Blog URI" in Dashboard Options > change to 192.168 etc instead of 'localhost'.

    Sorry for the traffic :)

Topic Closed

This topic has been closed to new replies.

About this Topic