How do I test my localhost WordPress project with VirtualBoxVM?
Question
I'm working on a WordPress project set up with MAMP on localhost. I try testing the site on internet explorer with VirtualBoxVM by browsing to my local ip. My problem is, wp_head() outputs absolute path's to css and js resources, so the VirtualBoxVM Browser tries to load http://localhost:[port]/wp-content/themes/twentytwelve-[xy]/style.css?ver=3.5 which will, of course, fail.
How do I get VirtualBoxVM to load these resources properly?
Maybe I can make the resource urls relative?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange