I have a two-machine little wireless net at home. A Windows machine serves as a WP development server. When accessed from the other machine, a Mac, CSS,images, etc., are not found.
I assume this has to do with the fact that the refs to such things are absolute paths to files on the Windows machine, which are appearing as: “http://localhost/wordpress/……./style.css” .
Obviously, “localhost” is the Windows machine, and URLs like that aren’t resolving on the Mac (which is its own local host).
Things work if I hardcode IP-based URLs into the WP code.. But, there must be a better way. How can fix this?
- The topic ‘Localhost URL's Not Resolving On Local Development Network’ is closed to new replies.