So I’m running wordpress locally on Mac OS 10.5.7 for development.
I often use Virtual Machines (parallels/virtualBox) to run WinXP for testing layout etc. The problem is whenever I view my page from another computer on my network all the external files (js/css) break.
If I view the source I can obviously see that the url to the documents is still pointing at my localhost.
I’m using bloginfo(‘template_url’); ?>/c/style.css in my files and http://localhost/~myuser/mysite/wp-content/themes/themename/c/style.css is the resulting output. Shouldn’t the output be reflecting the virtualHost address or remote ip address Im using to connect to the site?
How can I get around this problem and make my site locally accessible to other unit on my network?
- The topic ‘Local Virtual Hosts’ is closed to new replies.