• So I’m trying to get a friend’s computer to access one of my localhost sites (I’m using WampServer). I think I did everything right regarding wampserver to get it to work, and the last thing I did in my WP admin was change the WP & site address’ to ‘ipaddress/site-name’- ipaddress not being my IPv4 address, but my internet IP.

    Now, going to ipaddress/site-name I run into two problems: 1) the CSS files don’t load, and 2) I can’t figure out how to login to my admin area. How would I fix that?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Changing the site address will change the base page URL’s, but… there’s a lot of hard-coded links in a lot of places, and things like CSS and Javascript can get lost with that. The best thing ot do is use something like Firebug (or your chosen browsers developer tools) to see what is loading, and what’s not and then you’ll be able to see what URL the failed items are trying to load from.

    Normally to get everything working the right way you need to do a big serch-and-replace on all databse tables to make sure that the URL’s are changed everywhere that they are. This isn’t something to do manually, so I always use and recommend this script to do it for you.

    Thread Starter navyspitfire

    (@navyspitfire)

    Yeah I use that script when I move my local installation online, but I’m trying to have a friend access my site WHILE I work on it locally; so instead of working on https://localhost/site-name, I’m working on https://ipaddress/site-name, and only my friend’s computer has access because I added their IP to my wampserever files (which I believe I have already done)

    WordPress works with one URL a a time only. you can change it and work on it thorugh the same IP address, but you won’t have both local and remote access at the same time.

    If that’s how you’ve got it set up and it’s working, can you show us the site so we can see what’s happening? You should still be going thorugh the site to see waht is and isnt’ loading, as there’s a very good chance that’s most of your problem.

    Thread Starter navyspitfire

    (@navyspitfire)

    Hmm, okay, thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Access localhost from specific internet IP’ is closed to new replies.